[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.
- [taler-merchant] 07/24: -fix FTBFS, (continued)
- [taler-merchant] 07/24: -fix FTBFS, gnunet, 2021/11/17
- [taler-merchant] 11/24: add ACCEPTED case, gnunet, 2021/11/17
- [taler-merchant] 05/24: fix FTBFS, gnunet, 2021/11/17
- [taler-merchant] 18/24: update to match latest exchange structures, gnunet, 2021/11/17
- [taler-merchant] 06/24: fix fTBFS, gnunet, 2021/11/17
- [taler-merchant] 15/24: fix trait usage, gnunet, 2021/11/17
- [taler-merchant] 13/24: bugfix pickup DLL mangement logic, gnunet, 2021/11/17
- [taler-merchant] 12/24: fix trait used, gnunet, 2021/11/17
- [taler-merchant] 20/24: add new KYC command, gnunet, 2021/11/17
- [taler-merchant] 14/24: -fix test, gnunet, 2021/11/17
- [taler-merchant] 10/24: fix bizarre logic error,
gnunet <=
- [taler-merchant] 08/24: get backenddb test to pass, gnunet, 2021/11/17
- [taler-merchant] 17/24: fix signature in test, gnunet, 2021/11/17
- [taler-merchant] 09/24: fix post order trait usage, gnunet, 2021/11/17
- [taler-merchant] 16/24: introduce TALER_wallet_deposit_verify, gnunet, 2021/11/17
- [taler-merchant] 19/24: finish merchant client api /kyc implementation, gnunet, 2021/11/17
- [taler-merchant] 21/24: -more work on KYC test, gnunet, 2021/11/17
- [taler-merchant] 24/24: complete KYC test, gnunet, 2021/11/17
- [taler-merchant] 22/24: -misc fixes wrt long polling, gnunet, 2021/11/17
- [taler-merchant] 23/24: add skeleton for KYC test, gnunet, 2021/11/17