Browse Source

Add missing LOCK(cs_main)

0.10
Pieter Wuille 11 years ago
parent
commit
305ccaa275
  1. 5
      src/main.cpp

5
src/main.cpp

@ -3488,7 +3488,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
return true; return true;
} }
State(pfrom->GetId())->nLastBlockProcess = GetTimeMicros(); {
LOCK(cs_main);
State(pfrom->GetId())->nLastBlockProcess = GetTimeMicros();
}

Loading…
Cancel
Save