commit d64a1a3d2e1d9293f36a527c74956b1b33a09ca5 parent 59b4e1cdd81524a2b6b20d34dcdac69b7f1a385e Author: Christian Grothoff <christian@grothoff.org> Date: Mon, 22 Jun 2015 21:20:26 +0200 minor FIXME fix Diffstat:
| M | src/mint-lib/mint_api_withdraw.c | | | 10 | ++++------ |
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git 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; }