mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Add missing LOCK(cs_main)
This commit is contained in:
parent
ac00c66287
commit
e763310b54
@ -732,6 +732,7 @@ void CInstantSendManager::NotifyChainLock(const CBlockIndex* pindex)
|
||||
while (pindex && pindex->GetBlockHash() != lastChainLockBlock) {
|
||||
CBlock block;
|
||||
{
|
||||
LOCK(cs_main);
|
||||
if (!ReadBlockFromDisk(block, pindex, Params().GetConsensus())) {
|
||||
pindex = pindex->pprev;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user