commit 46ed6a7172a363ea50aa1512a257165c9dd37e67
parent ceb62f87b444d6c57fc34c5c2c4ed4295e499648
Author: Florian Dold <florian@dold.me>
Date: Mon, 25 Apr 2022 23:30:24 +0200
fix bogus age commitment length check
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
@@ -2136,7 +2136,7 @@ parse_pay (struct MHD_Connection *connection,
/* Sanity check the amount of AgeCommitment's public keys. The
* actual check will be performed once we now the denominations. */
- if (32 >= num)
+ if (32 <= num)
{
GNUNET_break_op (0);
GNUNET_JSON_parse_free (spec);