diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_common_deposit.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_common_deposit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_common_deposit.c b/src/exchange/taler-exchange-httpd_common_deposit.c index 3420f9cac..ecb13630c 100644 --- a/src/exchange/taler-exchange-httpd_common_deposit.c +++ b/src/exchange/taler-exchange-httpd_common_deposit.c @@ -220,6 +220,9 @@ TEH_common_deposit_check_purse_deposit ( : GNUNET_SYSERR; } + if (0 == min_age) + return GNUNET_OK; /* no need to apply age checks */ + /* Check and verify the age restriction. */ if (coin->no_attest != coin->cpi.no_age_commitment) { |