Access fRelayTxes with cs_filter lock in copyStats

This commit is contained in:
Matt Corallo 2017-02-06 11:53:34 -05:00
parent ae683c1b19
commit 512731bed0

View File

@ -600,7 +600,10 @@ void CNode::copyStats(CNodeStats &stats)
stats.nodeid = this->GetId();
X(nServices);
X(addr);
{
LOCK(cs_filter);
X(fRelayTxes);
}
X(nLastSend);
X(nLastRecv);
X(nTimeConnected);