diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_reserve_withdraw.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_reserve_withdraw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserve_withdraw.c b/src/exchange/taler-exchange-httpd_reserve_withdraw.c index 4dad473b3..c410cea20 100644 --- a/src/exchange/taler-exchange-httpd_reserve_withdraw.c +++ b/src/exchange/taler-exchange-httpd_reserve_withdraw.c @@ -309,8 +309,9 @@ withdraw_transaction (void *cls, if (0 == (res & 2)) { /* did not encounter any withdraw operations, set to zero */ - TALER_amount_get_zero (deposit_total.currency, - &withdraw_total); + GNUNET_assert (GNUNET_OK == + TALER_amount_get_zero (deposit_total.currency, + &withdraw_total)); } /* All reserve balances should be non-negative */ if (GNUNET_SYSERR == |