mirror of
https://github.com/monero-project/monero.git
synced 2025-01-28 18:56:31 +02:00
Total Input == Total Output is valid Transaction
This commit is contained in:
parent
2b93288fd7
commit
d37cf66cb4
@ -284,7 +284,7 @@ namespace cryptonote
|
||||
get_inputs_money_amount(tx, amount_in);
|
||||
uint64_t amount_out = get_outs_money_amount(tx);
|
||||
|
||||
if(amount_in <= amount_out)
|
||||
if(amount_in < amount_out)
|
||||
{
|
||||
LOG_PRINT_RED_L1("tx with wrong amounts: ins " << amount_in << ", outs " << amount_out << ", rejected for tx id= " << get_transaction_hash(tx));
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user