diff --git a/src/masternodes/mn_checks.cpp b/src/masternodes/mn_checks.cpp index 25181689b5..717dab652a 100644 --- a/src/masternodes/mn_checks.cpp +++ b/src/masternodes/mn_checks.cpp @@ -3871,7 +3871,7 @@ class CCustomTxApplyVisitor : public CCustomTxVisitor { } } else if (obj.type == CTransferBalanceType::EvmOut) { - for (const auto& [addr, _] : obj.from) { + for (const auto& [addr, balances] : obj.from) { CTxDestination dest; if (ExtractDestination(addr, dest)) { if (dest.index() != WitV16KeyEthHashType) {