commit 416f113e01f7a96639a266326962bb6d4b5e3e5e
parent 9980d12a0aa08f870171568a690d07c3d665d431
Author: Özgür Kesim <oec-taler@kesim.org>
Date: Sat, 9 Jul 2022 13:25:17 +0200
-fix check of the wrong flag during age restriction verification
Diffstat:
1 file changed, 1 insertion(+), 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
@@ -1345,7 +1345,7 @@ AGE_FAIL:
&dc->cdd.h_age_commitment);
GNUNET_free (dc->age_commitment.keys);
}
- else if (is_age_restricted_denom && dc->no_age_commitment)
+ else if (is_age_restricted_denom && dc->no_h_age_commitment)
{
/* The contract did not ask for a minimum_age but the client paid
* with a coin that has age restriction enabled. We lack the hash