Add missing lock in CNode::copyStats(...)
This commit is contained in:
parent
b312cd7707
commit
4894133dc5
1 changed files with 4 additions and 1 deletions
|
@ -715,7 +715,10 @@ void CNode::copyStats(CNodeStats &stats)
|
||||||
X(nRecvBytes);
|
X(nRecvBytes);
|
||||||
}
|
}
|
||||||
X(fWhitelisted);
|
X(fWhitelisted);
|
||||||
X(minFeeFilter);
|
{
|
||||||
|
LOCK(cs_feeFilter);
|
||||||
|
X(minFeeFilter);
|
||||||
|
}
|
||||||
|
|
||||||
// It is common for nodes with good ping times to suddenly become lagged,
|
// It is common for nodes with good ping times to suddenly become lagged,
|
||||||
// due to a new block arriving or other large transfer.
|
// due to a new block arriving or other large transfer.
|
||||||
|
|
Loading…
Reference in a new issue