From 19e7bf64c8fd15fc60f93bfe37c297a8f9972905 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Sat, 10 Jun 2023 08:05:10 -0300 Subject: [PATCH] merge bitcoin#27863: do not break when addr is not from a distinct network group --- src/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net.cpp b/src/net.cpp index 2df0b3ecb5..e39b089645 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -3303,7 +3303,7 @@ void CConnman::ThreadOpenConnections(const std::vector connect, CDe // Require outbound IPv4/IPv6 connections, other than feelers, to be to distinct network groups if (!fFeeler && outbound_ipv46_peer_netgroups.count(m_netgroupman.GetGroup(addr))) { - break; + continue; } // if we selected an invalid address, restart