mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
fix missing lock in CNode::ClearBanned()
This commit is contained in:
parent
40400d53d3
commit
62909f68a0
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ CCriticalSection CNode::cs_setBanned;
|
|||
|
||||
void CNode::ClearBanned()
|
||||
{
|
||||
LOCK(cs_setBanned);
|
||||
setBanned.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue