Add missing LOCK(cs_main)
This commit is contained in:
parent
9d97e83bf6
commit
305ccaa275
1 changed files with 4 additions and 1 deletions
|
@ -3488,7 +3488,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
LOCK(cs_main);
|
||||||
State(pfrom->GetId())->nLastBlockProcess = GetTimeMicros();
|
State(pfrom->GetId())->nLastBlockProcess = GetTimeMicros();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue