diff options
| author | practicalswift <[email protected]> | 2018-10-08 15:33:39 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-11-28 09:36:25 +0100 |
| commit | 4894133dc5095ed971bf98d695384e7cbb16e54c (patch) | |
| tree | 36061eb178672988fb416d8e051f9d30136b9237 /src | |
| parent | Add missing locking annotations (diff) | |
| download | discoin-4894133dc5095ed971bf98d695384e7cbb16e54c.tar.xz discoin-4894133dc5095ed971bf98d695384e7cbb16e54c.zip | |
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 1e6375986..b85a8c2c1 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. |