From d58af138874914569a3192e10a7b2d9aaa21dbe5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Jan 2020 18:17:38 +0100 Subject: fix assertion --- src/auditor/taler-auditor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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, ¤cy_round_unit)); /* Calculate the exchange's gain as the fees plus rounding differences! */ -- cgit v1.2.3