From b9a30d29cb91ec66c3bb8d956640d20e641b6a4d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 7 Jun 2022 15:02:08 +0200 Subject: -fix minor bugs --- src/lib/exchange_api_batch_withdraw2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/exchange_api_batch_withdraw2.c') 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); { -- cgit v1.2.3