commit 329908b511059afbf7ad4669b52512dd3eec8a77
parent be27446f003e069ce79f94de27bfe1e272b94aca
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jun 2022 20:34:36 +0200
-init h_denom_pub
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
@@ -1209,7 +1209,7 @@ process_pay_with_exchange (
/* Now that we have the details about the denomination, we can verify age
* restriction requirements, if applicable. Note that denominations with an
* age_mask equal to zero always pass the age verification. */
- is_age_restricted_denom = 0 < denom_details->key.age_mask.bits;
+ is_age_restricted_denom = 0 < denom_details->key.age_mask.bits;
if (is_age_restricted_denom
&& (0 < pc->minimum_age))
@@ -1294,6 +1294,7 @@ AGE_FAIL:
.coin_pub = dc->coin_pub,
.coin_sig = dc->coin_sig,
.denom_sig = dc->ub_sig,
+ .h_denom_pub = denom_details->h_key,
.h_age_commitment = dc->h_age_commitment
};
struct TALER_EXCHANGE_DepositContractDetail dcd = {