Remove comment about masternode connections

This was related to the times we directly called ConnectNode from MN code
This commit is contained in:
Alexander Block 2018-01-17 17:40:44 +01:00
parent 4ee0657f85
commit 41ef1f98ea

View File

@ -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;