summaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_select_aml_history.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-02 12:03:55 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-02 12:03:55 +0100
commiteab95d015412833c96568fb91d25aa23c53c45cd (patch)
treea4c23c072b4dae0c982ca8a364b29a1bdceb4f80 /src/exchangedb/pg_select_aml_history.c
parent915542e69c5a481b8885661171880446d4ef009d (diff)
downloadexchange-eab95d015412833c96568fb91d25aa23c53c45cd.tar.gz
exchange-eab95d015412833c96568fb91d25aa23c53c45cd.tar.bz2
exchange-eab95d015412833c96568fb91d25aa23c53c45cd.zip
draft for the AML GET decision endpoint
Diffstat (limited to 'src/exchangedb/pg_select_aml_history.c')
-rw-r--r--src/exchangedb/pg_select_aml_history.c6
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",