Skip to content

Commit 7821db3

Browse files
committed
Merge #9671: Fix super-unlikely race introduced in 2366180
885cfdd Fix super-unlikely race introduced in 2366180 (Matt Corallo)
2 parents 4966917 + 885cfdd commit 7821db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1860,11 +1860,11 @@ bool CConnman::OpenNetworkConnection(const CAddress& addrConnect, bool fCountFai
18601860
if (fAddnode)
18611861
pnode->fAddnode = true;
18621862

1863+
GetNodeSignals().InitializeNode(pnode, *this);
18631864
{
18641865
LOCK(cs_vNodes);
18651866
vNodes.push_back(pnode);
18661867
}
1867-
GetNodeSignals().InitializeNode(pnode, *this);
18681868

18691869
return true;
18701870
}

0 commit comments

Comments
 (0)