summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/age_restriction.c7
-rw-r--r--src/util/wallet_signatures.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/util/age_restriction.c b/src/util/age_restriction.c
index 45ebc03c4..e69e74126 100644
--- a/src/util/age_restriction.c
+++ b/src/util/age_restriction.c
@@ -38,6 +38,13 @@ TALER_age_commitment_hash (
return;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "popcount - 1: %d\n",
+ __builtin_popcount (commitment->mask.bits) - 1);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "commitment num: %d\n",
+ commitment->num);
+
GNUNET_assert (__builtin_popcount (commitment->mask.bits) - 1 ==
commitment->num);
diff --git a/src/util/wallet_signatures.c b/src/util/wallet_signatures.c
index ce757b753..85caaca6e 100644
--- a/src/util/wallet_signatures.c
+++ b/src/util/wallet_signatures.c
@@ -190,6 +190,7 @@ TALER_wallet_deposit_verify (
amount);
TALER_amount_hton (&dr.deposit_fee,
deposit_fee);
+
if (GNUNET_OK !=
GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_WALLET_COIN_DEPOSIT,
&dr,