From fe3d17df04decc4e856121eb311636977d60f80f Mon Sep 17 00:00:00 2001 From: Anthony Towns Date: Fri, 21 May 2021 13:03:00 +1000 Subject: [PATCH] net: ignore block-relay-only peers when skipping DNS seed --- src/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net.cpp b/src/net.cpp index 909b7622e3..7fde59ba20 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1637,7 +1637,7 @@ void CConnman::ThreadDNSAddressSeed() { LOCK(cs_vNodes); for (const CNode* pnode : vNodes) { - if (pnode->fSuccessfullyConnected && pnode->IsOutboundOrBlockRelayConn()) ++nRelevant; + if (pnode->fSuccessfullyConnected && pnode->IsFullOutboundConn()) ++nRelevant; } } if (nRelevant >= 2) {