From eab95d015412833c96568fb91d25aa23c53c45cd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 2 Feb 2023 12:03:55 +0100 Subject: draft for the AML GET decision endpoint --- src/exchangedb/pg_select_aml_history.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/exchangedb') diff --git a/src/exchangedb/pg_select_aml_history.c b/src/exchangedb/pg_select_aml_history.c index 9638df5cd..ac7fe5842 100644 --- a/src/exchangedb/pg_select_aml_history.c +++ b/src/exchangedb/pg_select_aml_history.c @@ -74,7 +74,7 @@ handle_aml_result (void *cls, { struct TALER_Amount new_threshold; uint32_t ns; - struct GNUNET_TIME_Absolute decision_time; + struct GNUNET_TIME_Timestamp decision_time; char *justification; struct TALER_AmlOfficerPublicKeyP decider_pub; struct TALER_AmlOfficerSignatureP decider_sig; @@ -83,8 +83,8 @@ handle_aml_result (void *cls, &new_threshold), GNUNET_PQ_result_spec_uint32 ("new_status", &ns), - GNUNET_PQ_result_spec_absolute_time ("decision_time", - &decision_time), + GNUNET_PQ_result_spec_timestamp ("decision_time", + &decision_time), GNUNET_PQ_result_spec_string ("justification", &justification), GNUNET_PQ_result_spec_auto_from_type ("decider_pub", -- cgit v1.2.3