|
|
@ -1860,11 +1860,11 @@ bool CConnman::OpenNetworkConnection(const CAddress& addrConnect, bool fCountFai |
|
|
|
if (fAddnode) |
|
|
|
if (fAddnode) |
|
|
|
pnode->fAddnode = true; |
|
|
|
pnode->fAddnode = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GetNodeSignals().InitializeNode(pnode, *this); |
|
|
|
{ |
|
|
|
{ |
|
|
|
LOCK(cs_vNodes); |
|
|
|
LOCK(cs_vNodes); |
|
|
|
vNodes.push_back(pnode); |
|
|
|
vNodes.push_back(pnode); |
|
|
|
} |
|
|
|
} |
|
|
|
GetNodeSignals().InitializeNode(pnode, *this); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|