summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-aggregator.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 20:50:25 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 20:50:25 +0100
commit6fc2a5f9493e614a458cfc57ad42c782d06ba07a (patch)
tree14dcd68aa3bbf9f226d7b1e121c04d2019cd8675 /src/exchange/taler-exchange-aggregator.c
parentc1996b7e69d7cb51adbd687b3a1cffdc02e28d3c (diff)
downloadexchange-6fc2a5f9493e614a458cfc57ad42c782d06ba07a.tar.gz
exchange-6fc2a5f9493e614a458cfc57ad42c782d06ba07a.tar.bz2
exchange-6fc2a5f9493e614a458cfc57ad42c782d06ba07a.zip
fixes
Diffstat (limited to 'src/exchange/taler-exchange-aggregator.c')
-rw-r--r--src/exchange/taler-exchange-aggregator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index 0c6b6a9d..5912388f 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -605,7 +605,9 @@ exchange_serve_process_config ()
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"No [taler]/CURRENCY_ROUND_UNIT specified, defaulting to '0.01'.\n");
- TALER_amount_get_zero (exchange_currency_string, &currency_round_unit);
+ GNUNET_assert (GNUNET_OK ==
+ TALER_amount_get_zero (exchange_currency_string,
+ &currency_round_unit));
currency_round_unit.fraction = TALER_AMOUNT_FRAC_BASE / 100;
}
else if (GNUNET_OK !=