Merge pull request #4204

305ccaa Add missing LOCK(cs_main) (Pieter Wuille)
pull/196/head
Wladimir J. van der Laan 11 years ago
commit 8cd900711c
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

@ -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();
}

Loading…
Cancel
Save