summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_batch_withdraw2.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-07 15:02:08 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-07 15:02:16 +0200
commitb9a30d29cb91ec66c3bb8d956640d20e641b6a4d (patch)
tree4ad72e722981bb1ef68a643a7f9cff6f1323497b /src/lib/exchange_api_batch_withdraw2.c
parent013942ba917958d31a9923f612f4c0f388f7b178 (diff)
downloadexchange-b9a30d29cb91ec66c3bb8d956640d20e641b6a4d.tar.gz
exchange-b9a30d29cb91ec66c3bb8d956640d20e641b6a4d.tar.bz2
exchange-b9a30d29cb91ec66c3bb8d956640d20e641b6a4d.zip
-fix minor bugs
Diffstat (limited to 'src/lib/exchange_api_batch_withdraw2.c')
-rw-r--r--src/lib/exchange_api_batch_withdraw2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/exchange_api_batch_withdraw2.c b/src/lib/exchange_api_batch_withdraw2.c
index 52da9b401..e9da21992 100644
--- a/src/lib/exchange_api_batch_withdraw2.c
+++ b/src/lib/exchange_api_batch_withdraw2.c
@@ -414,8 +414,9 @@ TALER_EXCHANGE_batch_withdraw2 (
wh->cb = res_cb;
wh->cb_cls = res_cb_cls;
wh->num_coins = pds_length;
- TALER_amount_set_zero (keys->currency,
- &wh->requested_amount);
+ GNUNET_assert (GNUNET_OK ==
+ TALER_amount_set_zero (keys->currency,
+ &wh->requested_amount));
GNUNET_CRYPTO_eddsa_key_get_public (&reserve_priv->eddsa_priv,
&wh->reserve_pub.eddsa_pub);
{