aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-09-24 11:51:47 +0200
committerChristian Grothoff <christian@grothoff.org>2023-09-24 11:51:47 +0200
commit7a3b1c6b88a86ccb98a9d60675f8f0c1a7e3fe45 (patch)
tree7a89527ea1551a4b97897db01bff1c942825811d /src/lib
parent4c220dce4d5ef33e00e937e236a744324af9dcf0 (diff)
downloadexchange-7a3b1c6b88a86ccb98a9d60675f8f0c1a7e3fe45.tar.xz
fix various FIXMEs
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_age_withdraw.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/exchange_api_age_withdraw.c b/src/lib/exchange_api_age_withdraw.c
index c78d3cc57..4092c5c2c 100644
--- a/src/lib/exchange_api_age_withdraw.c
+++ b/src/lib/exchange_api_age_withdraw.c
@@ -903,12 +903,11 @@ prepare_coins (
can->secret = input->secrets[k];
/* Derive the age restriction from the given secret and
* the maximum age */
- FAIL_IF (GNUNET_OK !=
- TALER_age_restriction_from_secret (
- &can->secret,
- &input->denom_pub->key.age_mask,
- awh->max_age,
- &can->details.age_commitment_proof));
+ TALER_age_restriction_from_secret (
+ &can->secret,
+ &input->denom_pub->key.age_mask,
+ awh->max_age,
+ &can->details.age_commitment_proof);
TALER_age_commitment_hash (&can->details.age_commitment_proof.commitment,
&can->details.h_age_commitment);