Add missing LOCK(cs_main)

This commit is contained in:
Pieter Wuille committed 2014-05-20 21:45:12 +02:00
1 parent 9d97e83bf6
commit 305ccaa275
1 file changed
+4 -1
+4 -1
View File
@@ -3488,7 +3488,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
return true;
}
State(pfrom->GetId())->nLastBlockProcess = GetTimeMicros();
{
LOCK(cs_main);
State(pfrom->GetId())->nLastBlockProcess = GetTimeMicros();
}