gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: -round


From: gnunet
Subject: [taler-merchant] branch master updated: -round
Date: Sat, 20 Nov 2021 21:24:35 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 86182895 -round
86182895 is described below

commit 861828957b4b2004656de7eda4bc4f313a218277
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Nov 20 21:24:33 2021 +0100

    -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;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]