Merge pull request #4204

305ccaa Add missing LOCK(cs_main) (Pieter Wuille)
This commit is contained in:
Wladimir J. van der Laan 2014-05-21 14:09:35 +02:00
commit 8cd900711c
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

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