Skip to content

Commit

Permalink
fix missing lock in CNode::ClearBanned()
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschnelli committed Jun 19, 2015
1 parent 40400d5 commit 62909f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/net.cpp
Expand Up @@ -448,6 +448,7 @@ CCriticalSection CNode::cs_setBanned;

void CNode::ClearBanned()
{
LOCK(cs_setBanned);
setBanned.clear();
}

Expand Down

0 comments on commit 62909f6

Please sign in to comment.