diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-07 15:02:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-07 15:02:16 +0200 |
commit | b9a30d29cb91ec66c3bb8d956640d20e641b6a4d (patch) | |
tree | 4ad72e722981bb1ef68a643a7f9cff6f1323497b /src/exchange/taler-exchange-httpd_batch-withdraw.c | |
parent | 013942ba917958d31a9923f612f4c0f388f7b178 (diff) | |
download | exchange-b9a30d29cb91ec66c3bb8d956640d20e641b6a4d.tar.gz exchange-b9a30d29cb91ec66c3bb8d956640d20e641b6a4d.tar.bz2 exchange-b9a30d29cb91ec66c3bb8d956640d20e641b6a4d.zip |
-fix minor bugs
Diffstat (limited to 'src/exchange/taler-exchange-httpd_batch-withdraw.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_batch-withdraw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c index 52f420369..91d1ebd3b 100644 --- a/src/exchange/taler-exchange-httpd_batch-withdraw.c +++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c @@ -628,8 +628,9 @@ TEH_handler_batch_withdraw (struct TEH_RequestContext *rc, memset (&wc, 0, sizeof (wc)); - TALER_amount_set_zero (TEH_currency, - &wc.batch_total); + GNUNET_assert (GNUNET_OK == + TALER_amount_set_zero (TEH_currency, + &wc.batch_total)); wc.reserve_pub = reserve_pub; { |