# MutantHub mutant #3786: EvictWorstOutboundPeer counts block-relay peers (and not manual ones) towards network coverage
# Repository: bitcoin/bitcoin @ 37912ec1789ab2384982a3a045f9e864fdccf722
# File: src/net_processing.cpp:5847-5847
# Review: APPROVED; outcome: SURVIVED
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index b909318..d812ce9 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -5844,7 +5844,7 @@ bool PeerManagerImpl::EvictWorstOutboundPeer(ConnectionType conn_type, NodeClock
     // neither does one that is still handshaking).
     std::array<int, Network::NET_MAX> conns_per_network{};
     m_connman.ForEachNode([&](const CNode* pnode) {
-        if (pnode->IsManualOrFullOutboundConn()) ++conns_per_network[pnode->addr.GetNetwork()];
+        if (pnode->IsOutboundOrBlockRelayConn()) ++conns_per_network[pnode->addr.GetNetwork()];
     });
 
     // If we have more peers of this type than we target, disconnect one.
