diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index d9d8a7faf..8113410fd 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -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;