From 84a40be0bce66cda800de7891f758a0c69afc7fa Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Apr 2020 23:52:01 +0200 Subject: fix #6170 and rest of #6164 --- src/testing/testing_api_cmd_exec_closer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testing/testing_api_cmd_exec_closer.c') diff --git a/src/testing/testing_api_cmd_exec_closer.c b/src/testing/testing_api_cmd_exec_closer.c index 783696996..d604ecec8 100644 --- a/src/testing/testing_api_cmd_exec_closer.c +++ b/src/testing/testing_api_cmd_exec_closer.c @@ -239,7 +239,7 @@ TALER_TESTING_cmd_exec_closer (const char *label, } /* expected amount includes fee, while our argument gives the amount _without_ the fee. So add the fee. */ - GNUNET_assert (GNUNET_OK == + GNUNET_assert (0 <= TALER_amount_add (&as->reserve_history.amount, &as->reserve_history.amount, &as->reserve_history.details.close_details. -- cgit v1.2.3