summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_batch_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-30 17:51:39 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-30 17:51:39 +0200
commitab4aa4dcfd3477971b3fb0c81a4caffff953c145 (patch)
tree2b6ce37666cdf30323cf9c108dd6f04349c8a9d0 /src/lib/exchange_api_batch_withdraw.c
parent7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a (diff)
downloadexchange-ab4aa4dcfd3477971b3fb0c81a4caffff953c145.tar.gz
exchange-ab4aa4dcfd3477971b3fb0c81a4caffff953c145.tar.bz2
exchange-ab4aa4dcfd3477971b3fb0c81a4caffff953c145.zip
-add batch withdraw to test suite
Diffstat (limited to 'src/lib/exchange_api_batch_withdraw.c')
-rw-r--r--src/lib/exchange_api_batch_withdraw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/exchange_api_batch_withdraw.c b/src/lib/exchange_api_batch_withdraw.c
index ce5de3fc2..295695d8f 100644
--- a/src/lib/exchange_api_batch_withdraw.c
+++ b/src/lib/exchange_api_batch_withdraw.c
@@ -161,6 +161,9 @@ handle_reserve_batch_withdraw_finished (
struct TALER_EXCHANGE_PrivateCoinDetails coins[wh->num_coins];
wh->wh2 = NULL;
+ memset (coins,
+ 0,
+ sizeof (coins));
if (blind_sigs_length != wh->num_coins)
{
GNUNET_break_op (0);