merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

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

fix bizarre logic error

Diffstat:
Msrc/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 @@ -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;