From 4894133dc5095ed971bf98d695384e7cbb16e54c Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 8 Oct 2018 15:33:39 +0200 Subject: Add missing lock in CNode::copyStats(...) --- src/net.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/net.cpp') diff --git a/src/net.cpp b/src/net.cpp index 1e63759866..b85a8c2c1d 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -715,7 +715,10 @@ void CNode::copyStats(CNodeStats &stats) X(nRecvBytes); } X(fWhitelisted); - X(minFeeFilter); + { + LOCK(cs_feeFilter); + X(minFeeFilter); + } // It is common for nodes with good ping times to suddenly become lagged, // due to a new block arriving or other large transfer. -- cgit v1.2.3