minor FIXME fix

This commit is contained in:
Christian Grothoff 2015-06-22 21:20:26 +02:00
parent 59b4e1cdd8
commit d64a1a3d2e

View File

@ -630,16 +630,14 @@ withdraw_sign_payment_required (struct TALER_MINT_WithdrawSignHandle *wsh,
return GNUNET_SYSERR; return GNUNET_SYSERR;
} }
/* Check that funds were really insufficient */ /* Check that funds were really insufficient */
if (0 < /* >= ??? -- FIXME: check operator! */ if (0 < TALER_amount_cmp (&requested_amount,
TALER_amount_cmp (&requested_amount, &balance))
&balance))
{ {
/* mint cannot add up balances!? */ /* Requested amount is smaller than reported balance,
so this should not have failed. */
GNUNET_break_op (0); GNUNET_break_op (0);
return GNUNET_SYSERR; return GNUNET_SYSERR;
} }
return GNUNET_OK; return GNUNET_OK;
} }