diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-20 21:24:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-20 21:24:33 +0100 |
commit | 861828957b4b2004656de7eda4bc4f313a218277 (patch) | |
tree | 5c3e12ba640a4bad81f6fdec1e7b5ff02d73d0b2 | |
parent | 8edd5641430d7e352cf9d14edd3e57b6f75642a3 (diff) | |
download | merchant-861828957b4b2004656de7eda4bc4f313a218277.tar.gz merchant-861828957b4b2004656de7eda4bc4f313a218277.tar.bz2 merchant-861828957b4b2004656de7eda4bc4f313a218277.zip |
-round
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c index 3baf7293..d1ed63fd 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -686,8 +686,11 @@ deposit_get_callback ( { struct KycContext *kc = cls; enum GNUNET_DB_QueryStatus qs; + struct GNUNET_TIME_Absolute now; kc->dg = NULL; + now = GNUNET_TIME_absolute_get (); + (void) GNUNET_TIME_round_abs (&now); switch (dr->hr.http_status) { case MHD_HTTP_OK: @@ -699,7 +702,7 @@ deposit_get_callback ( dr->details.success.payment_target_uuid, NULL, /* no signature */ NULL, /* no signature */ - GNUNET_TIME_absolute_get (), + now, true); GNUNET_break (qs > 0); break; @@ -712,7 +715,7 @@ deposit_get_callback ( dr->details.accepted.payment_target_uuid, NULL, /* no signature */ NULL, /* no signature */ - GNUNET_TIME_absolute_get (), + now, dr->details.accepted.kyc_ok); GNUNET_break (qs > 0); break; |