p2p payments: do not require attestation when min_age is 0
This commit is contained in:
parent
0c0c598612
commit
57a53a016b
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user