mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 15:32:34 +02:00
Merge pull request #4204
305ccaa
Add missing LOCK(cs_main) (Pieter Wuille)
This commit is contained in:
commit
8cd900711c
@ -3488,7 +3488,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
State(pfrom->GetId())->nLastBlockProcess = GetTimeMicros();
|
{
|
||||||
|
LOCK(cs_main);
|
||||||
|
State(pfrom->GetId())->nLastBlockProcess = GetTimeMicros();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user