diff options
| author | Christian Grothoff <christian@grothoff.org> | 2017-10-06 20:54:42 +0200 |
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2017-10-06 20:54:42 +0200 |
| commit | dbab0c658734c14436a89bd7fc76b295cbcf5448 (patch) | |
| tree | 45c76147c8da84a4a9911803fca54744aa36725a /src/exchange/taler-exchange-aggregator.c | |
| parent | 2f715c27f82584cb65855785144877da628fe35c (diff) | |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c index 011cb98b..eb97edba 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 |
