From 861828957b4b2004656de7eda4bc4f313a218277 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 20 Nov 2021 21:24:33 +0100 Subject: -round --- src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 7 +++++-- 1 file 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; -- cgit v1.2.3