mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
Remove comment about masternode connections
This was related to the times we directly called ConnectNode from MN code
This commit is contained in:
parent
4ee0657f85
commit
41ef1f98ea
@ -345,8 +345,6 @@ bool CConnman::CheckIncomingNonce(uint64_t nonce)
|
|||||||
CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCountFailure)
|
CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCountFailure)
|
||||||
{
|
{
|
||||||
if (pszDest == NULL) {
|
if (pszDest == NULL) {
|
||||||
// we clean masternode connections in CMasternodeMan::ProcessMasternodeConnections()
|
|
||||||
// so should be safe to skip this and connect to local Hot MN on CActiveMasternode::ManageState()
|
|
||||||
if (IsLocal(addrConnect))
|
if (IsLocal(addrConnect))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user