commit 27ab65168f8c5024a1ad4220e7483a2b8ceeb5bb
parent d50651cdfa34213d33c5f8651cbeeba10cc37cfd
Author: Christian Blättler <blatc2@bfh.ch>
Date: Sat, 27 Apr 2024 10:41:28 +0200
pass wallet data hash to deposit signature validation
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -1245,6 +1245,7 @@ AGE_FAIL:
.merchant_payto_uri = pc->wm->payto_uri,
.wire_salt = pc->wm->wire_salt,
.h_contract_terms = pc->h_contract_terms,
+ .wallet_data_hash = pc->h_wallet_data,
.wallet_timestamp = pc->timestamp,
.merchant_pub = hc->instance->merchant_pub,
.refund_deadline = pc->refund_deadline
@@ -2717,7 +2718,7 @@ phase_parse_wallet_data (struct PayContext *pc)
}
TALER_json_hash (pc->wallet_data,
- &pc->h_wallet_data);
+ &pc->h_wallet_data);
pc->phase = PP_CHECK_CONTRACT;
}