Add missing LOCK(cs_main)

Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 305ccaa
This commit is contained in:
Pieter Wuille 2014-05-20 21:45:12 +02:00 committed by Wladimir J. van der Laan
parent ac1dd87f33
commit 2585310a22
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

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