Skip to content

Commit fe3d17d

Browse files
committed
net: ignore block-relay-only peers when skipping DNS seed
1 parent ea8b2e8 commit fe3d17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@ void CConnman::ThreadDNSAddressSeed()
16371637
{
16381638
LOCK(cs_vNodes);
16391639
for (const CNode* pnode : vNodes) {
1640-
if (pnode->fSuccessfullyConnected && pnode->IsOutboundOrBlockRelayConn()) ++nRelevant;
1640+
if (pnode->fSuccessfullyConnected && pnode->IsFullOutboundConn()) ++nRelevant;
16411641
}
16421642
}
16431643
if (nRelevant >= 2) {

0 commit comments

Comments
 (0)