commit d58af138874914569a3192e10a7b2d9aaa21dbe5
parent ee6b2d5286df473cf51575b025117f273cfa14be
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 18 Jan 2020 18:17:38 +0100
fix assertion
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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,
¤cy_round_unit));
/* Calculate the exchange's gain as the fees plus rounding differences! */