diff --git a/src/net_processing.cpp b/src/net_processing.cpp --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -2464,9 +2464,8 @@ } } - if (!pfrom.fDisconnect && pfrom.IsOutboundOrBlockRelayConn() && - nodestate->pindexBestKnownBlock != nullptr && - pfrom.m_tx_relay != nullptr) { + if (!pfrom.fDisconnect && pfrom.IsFullOutboundConn() && + nodestate->pindexBestKnownBlock != nullptr) { // If this is an outbound full-relay peer, check to see if we should // protect it from the bad/lagging chain logic. Note that // block-relay-only peers are already implicitly protected, so we