Access fRelayTxes with cs_filter lock in copyStats
This commit is contained in:
1 parent
ae683c1b19
commit
512731bed0
1 file changed
+4
-1
+4
-1
@@ -600,7 +600,10 @@ void CNode::copyStats(CNodeStats &stats)
|
||||
stats.nodeid = this->GetId();
|
||||
X(nServices);
|
||||
X(addr);
|
||||
X(fRelayTxes);
|
||||
{
|
||||
LOCK(cs_filter);
|
||||
X(fRelayTxes);
|
||||
}
|
||||
X(nLastSend);
|
||||
X(nLastRecv);
|
||||
X(nTimeConnected);
|
||||
|
||||
Reference in new issue
Block a user