mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Move [clean|str]SubVer writes/copyStats into a lock
This commit is contained in:
parent
0f31872615
commit
22b4966a29
3 changed files with 13 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue