diff --git a/src/net.cpp b/src/net.cpp index b7243dce20..ea8a2a0a4a 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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);