presumably fixing #4455. A check did exist (see taler-exchange-httpd_deposit.c:225), but the two checks disagreed whether it was OK for the fee to be exactly equal to the amount. Now both checks allow the fee to be equal to the amount.

This commit is contained in:
Christian Grothoff 2016-04-25 00:31:23 +02:00
parent fbbf35c87f
commit 47c3a489e2

View File

@ -246,7 +246,7 @@ TMH_DB_execute_deposit (struct MHD_Connection *connection,
}
COMMIT_TRANSACTION(session, connection);
GNUNET_assert (GNUNET_OK ==
GNUNET_assert (GNUNET_SYSERR !=
TALER_amount_subtract (&amount_without_fee,
&deposit->amount_with_fee,
&deposit->deposit_fee));