mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Access fRelayTxes with cs_filter lock in copyStats
This commit is contained in:
parent
ae683c1b19
commit
512731bed0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user