Browse Source

fix missing lock in CNode::ClearBanned()

0.13
Jonas Schnelli 10 years ago
parent
commit
62909f68a0
  1. 1
      src/net.cpp

1
src/net.cpp

@ -448,6 +448,7 @@ CCriticalSection CNode::cs_setBanned; @@ -448,6 +448,7 @@ CCriticalSection CNode::cs_setBanned;
void CNode::ClearBanned()
{
LOCK(cs_setBanned);
setBanned.clear();
}

Loading…
Cancel
Save