aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor.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/auditor/taler-auditor.c
parentc1996b7e69d7cb51adbd687b3a1cffdc02e28d3c (diff)
fixes
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r--src/auditor/taler-auditor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 4ba26800b..5a943b8ae 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -5245,7 +5245,9 @@ run (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"No [taler]/CURRENCY_ROUND_UNIT specified, defaulting to '0.01'.\n");
- TALER_amount_get_zero (currency, &currency_round_unit);
+ GNUNET_assert (GNUNET_OK ==
+ TALER_amount_get_zero (currency,
+ &currency_round_unit));
currency_round_unit.fraction = TALER_AMOUNT_FRAC_BASE / 100;
}
else if (GNUNET_OK !=