diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-10-08 15:33:39 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-11-28 09:36:25 +0100 |
commit | 4894133dc5095ed971bf98d695384e7cbb16e54c (patch) | |
tree | 36061eb178672988fb416d8e051f9d30136b9237 /src | |
parent | b312cd770701aa806e9b264154646f481d212c1c (diff) |
Add missing lock in CNode::copyStats(...)
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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. |