[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: p2p payments: do not require att
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: p2p payments: do not require attestation when min_age is 0 |
Date: |
Mon, 05 Sep 2022 13:48:37 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 57a53a01 p2p payments: do not require attestation when min_age is 0
57a53a01 is described below
commit 57a53a016ba50fdada1f6441ce8fc222abfb607f
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Sep 5 13:48:34 2022 +0200
p2p payments: do not require attestation when min_age is 0
---
src/exchange/taler-exchange-httpd_common_deposit.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/exchange/taler-exchange-httpd_common_deposit.c
b/src/exchange/taler-exchange-httpd_common_deposit.c
index 3420f9ca..ecb13630 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)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: p2p payments: do not require attestation when min_age is 0,
gnunet <=