summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-orders-ID.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2021-11-03 00:23:17 +0100
committerChristian Grothoff <grothoff@gnunet.org>2021-11-03 00:23:17 +0100
commit4f51dec8a3cc2e2290fdc712f94d74381b98a154 (patch)
tree04d3dade2f3e4bd4a36ca0d0dd579ac1abc83093 /src/backend/taler-merchant-httpd_private-get-orders-ID.c
parenta5f6348f7a738774fdef49a1b26f56ff88aeedf1 (diff)
downloadmerchant-4f51dec8a3cc2e2290fdc712f94d74381b98a154.tar.gz
merchant-4f51dec8a3cc2e2290fdc712f94d74381b98a154.tar.bz2
merchant-4f51dec8a3cc2e2290fdc712f94d74381b98a154.zip
fix bizarre logic error
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-orders-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders-ID.c9
1 files 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;