diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-22 21:20:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-22 21:20:26 +0200 |
commit | d64a1a3d2e1d9293f36a527c74956b1b33a09ca5 (patch) | |
tree | dda30ad6a78ac559dd994bf00cb97c588684f2da /src | |
parent | 59b4e1cdd81524a2b6b20d34dcdac69b7f1a385e (diff) |
minor FIXME fix
Diffstat (limited to 'src')
-rw-r--r-- | src/mint-lib/mint_api_withdraw.c | 10 |
1 files changed, 4 insertions, 6 deletions
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; } |