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_withdraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testing/testing_api_cmd_withdraw.c') diff --git a/src/testing/testing_api_cmd_withdraw.c b/src/testing/testing_api_cmd_withdraw.c index e277da143..d863e406a 100644 --- a/src/testing/testing_api_cmd_withdraw.c +++ b/src/testing/testing_api_cmd_withdraw.c @@ -331,7 +331,7 @@ withdraw_run (void *cls, ws->amount = ws->pk->value; } ws->reserve_history.type = TALER_EXCHANGE_RTT_WITHDRAWAL; - GNUNET_assert (GNUNET_OK == + GNUNET_assert (0 <= TALER_amount_add (&ws->reserve_history.amount, &ws->amount, &ws->pk->fee_withdraw)); -- cgit v1.2.3