From d64a1a3d2e1d9293f36a527c74956b1b33a09ca5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Jun 2015 21:20:26 +0200 Subject: minor FIXME fix --- src/mint-lib/mint_api_withdraw.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/mint-lib/mint_api_withdraw.c b/src/mint-lib/mint_api_withdraw.c index c5f7b33a2..89392dcaa 100644 --- a/src/mint-lib/mint_api_withdraw.c +++ b/src/mint-lib/mint_api_withdraw.c @@ -630,16 +630,14 @@ withdraw_sign_payment_required (struct TALER_MINT_WithdrawSignHandle *wsh, return GNUNET_SYSERR; } /* Check that funds were really insufficient */ - if (0 < /* >= ??? -- FIXME: check operator! */ - TALER_amount_cmp (&requested_amount, - &balance)) + if (0 < TALER_amount_cmp (&requested_amount, + &balance)) { - /* mint cannot add up balances!? */ + /* Requested amount is smaller than reported balance, + so this should not have failed. */ GNUNET_break_op (0); return GNUNET_SYSERR; } - - return GNUNET_OK; } -- cgit v1.2.3