diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index e46b723e..3ef8fb35 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3285,7 +3285,7 @@ bool wallet2::is_consolidating_transaction(const wallet_public::wallet_transfer_ for (uint64_t r : wti.td.rcv){income += r;} uint64_t spend = 0; for (uint64_t s : wti.td.spn) { spend += s; } - if (get_tx_fee(wti.tx) + spend = income) + if (get_tx_fee(wti.tx) + spend == income) return true; } return false; @@ -3300,7 +3300,7 @@ void wallet2::get_recent_transfers_history(std::vector