summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-aggregator.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-06 20:54:42 +0200
committerChristian Grothoff <christian@grothoff.org>2017-10-06 20:54:42 +0200
commitdbab0c658734c14436a89bd7fc76b295cbcf5448 (patch)
tree45c76147c8da84a4a9911803fca54744aa36725a /src/exchange/taler-exchange-aggregator.c
parent2f715c27f82584cb65855785144877da628fe35c (diff)
downloadexchange-dbab0c658734c14436a89bd7fc76b295cbcf5448.tar.gz
exchange-dbab0c658734c14436a89bd7fc76b295cbcf5448.tar.bz2
exchange-dbab0c658734c14436a89bd7fc76b295cbcf5448.zip
check return value from TALER_amount_get_zero
Diffstat (limited to 'src/exchange/taler-exchange-aggregator.c')
-rw-r--r--src/exchange/taler-exchange-aggregator.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index 011cb98b8..eb97edbaf 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -1006,8 +1006,9 @@ expired_reserve_cb (void *cls,
/* Closing fee higher than remaining balance, close
without wire transfer. */
closing_fee = left;
- TALER_amount_get_zero (left->currency,
- &amount_without_fee);
+ GNUNET_assert (GNUNET_OK ==
+ TALER_amount_get_zero (left->currency,
+ &amount_without_fee));
}
/* NOTE: sizeof (*reserve_pub) == sizeof (wtid) right now, but to