summaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 18:17:38 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 18:17:38 +0100
commitd58af138874914569a3192e10a7b2d9aaa21dbe5 (patch)
tree432e848695aa11070d089799c6d0a2dd18337414 /src/auditor
parentee6b2d5286df473cf51575b025117f273cfa14be (diff)
downloadexchange-d58af138874914569a3192e10a7b2d9aaa21dbe5.tar.gz
exchange-d58af138874914569a3192e10a7b2d9aaa21dbe5.tar.bz2
exchange-d58af138874914569a3192e10a7b2d9aaa21dbe5.zip
fix assertion
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-auditor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index cc526ec85..fb44e87e3 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -2894,7 +2894,8 @@ check_wire_out_cb
GNUNET_free (method);
/* Round down to amount supported by wire method */
- GNUNET_break (TALER_amount_round_down (&final_amount,
+ GNUNET_break (GNUNET_SYSERR !=
+ TALER_amount_round_down (&final_amount,
&currency_round_unit));
/* Calculate the exchange's gain as the fees plus rounding differences! */