diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-02 12:03:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-02 12:03:55 +0100 |
commit | eab95d015412833c96568fb91d25aa23c53c45cd (patch) | |
tree | a4c23c072b4dae0c982ca8a364b29a1bdceb4f80 /src/exchangedb | |
parent | 915542e69c5a481b8885661171880446d4ef009d (diff) | |
download | exchange-eab95d015412833c96568fb91d25aa23c53c45cd.tar.xz |
draft for the AML GET decision endpoint
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/pg_select_aml_history.c | 6 |
1 files changed, 3 insertions, 3 deletions
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", |