gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] 10/24: fix bizarre logic error


From: gnunet
Subject: [taler-merchant] 10/24: fix bizarre logic error
Date: Wed, 17 Nov 2021 12:44:33 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

commit 4f51dec8a3cc2e2290fdc712f94d74381b98a154
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Wed Nov 3 00:23:17 2021 +0100

    fix bizarre logic error
---
 src/backend/taler-merchant-httpd_private-get-orders-ID.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c 
b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index ab4e379a..394fe936 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -502,18 +502,13 @@ deposit_get_cb (void *cls,
          remember our target UUID */
       enum GNUNET_DB_QueryStatus qs;
       struct GNUNET_TIME_Absolute now;
-      struct TALER_MerchantWireHash h_wire;
 
       now = GNUNET_TIME_absolute_get ();
       (void) GNUNET_TIME_round_abs (&now);
-      GNUNET_assert (GNUNET_OK ==
-                     TALER_JSON_merchant_wire_signature_hash (
-                       gorc->wire_details,
-                       &h_wire));
       qs = TMH_db->account_kyc_set_status (
         TMH_db->cls,
         gorc->hc->instance->settings.id,
-        &h_wire,
+        &tq->h_wire,
         tq->exchange_url,
         dr->details.accepted.payment_target_uuid,
         NULL,
@@ -980,7 +975,7 @@ TMH_private_get_orders_ID (const struct TMH_RequestHandler 
*rh,
        earlier *unclaimed* order state (which we loaded in a previous
        invocation of this function and we are back here due to long polling)
        and thus the contract terms could have changed during claiming. Thus,
-       we need to fetch the latest contract terms from the DB again. *///
+       we need to fetch the latest contract terms from the DB again. */
     json_decref (gorc->contract_terms);
     gorc->contract_terms = NULL;
     gorc->fulfillment_url = NULL;

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