Move [clean|str]SubVer writes/copyStats into a lock
This commit is contained in:
+4
-1
@@ -610,7 +610,10 @@ void CNode::copyStats(CNodeStats &stats)
|
||||
X(nTimeOffset);
|
||||
X(addrName);
|
||||
X(nVersion);
|
||||
X(cleanSubVer);
|
||||
{
|
||||
LOCK(cs_SubVer);
|
||||
X(cleanSubVer);
|
||||
}
|
||||
X(fInbound);
|
||||
X(fAddnode);
|
||||
X(nStartingHeight);
|
||||
|
||||
Reference in New Issue
Block a user