mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-06 21:19:35 +01:00
Move [clean|str]SubVer writes/copyStats into a lock
This commit is contained in:
@@ -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