Skip to content

Commit

Permalink
fix: do not break when addr is from a set of already connected master…
Browse files Browse the repository at this point in the history
…nodes
  • Loading branch information
UdjinM6 committed Jan 23, 2025
1 parent 47f47d8 commit 8872ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3522,7 +3522,7 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect, CDe

// don't try to connect to masternodes that we already have a connection to (most likely inbound)
if (isMasternode && setConnectedMasternodes.count(dmn->proTxHash))
break;
continue;

// don't connect to ourselves
if (addr.GetPort() == GetListenPort() && IsLocal(addr)) {
Expand Down

0 comments on commit 8872ba3

Please sign in to comment.