mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-02 03:31:35 +02:00
fix missing lock in CNode::ClearBanned()
This commit is contained in:
@ -448,6 +448,7 @@ CCriticalSection CNode::cs_setBanned;
|
|||||||
|
|
||||||
void CNode::ClearBanned()
|
void CNode::ClearBanned()
|
||||||
{
|
{
|
||||||
|
LOCK(cs_setBanned);
|
||||||
setBanned.clear();
|
setBanned.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user