summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-07-09 13:25:17 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2022-07-09 13:25:17 +0200
commit416f113e01f7a96639a266326962bb6d4b5e3e5e (patch)
treeef53d589199fbcf8bcd2bcd715a586366cb1a73a /src/backend/taler-merchant-httpd_post-orders-ID-pay.c
parent9980d12a0aa08f870171568a690d07c3d665d431 (diff)
downloadmerchant-416f113e01f7a96639a266326962bb6d4b5e3e5e.tar.gz
merchant-416f113e01f7a96639a266326962bb6d4b5e3e5e.tar.bz2
merchant-416f113e01f7a96639a266326962bb6d4b5e3e5e.zip
-fix check of the wrong flag during age restriction verification
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-pay.c')
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-pay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index affd4826..91533de5 100644
--- 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