Skip to content

Commit

Permalink
Add missing LOCK(cs_main)
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Mar 11, 2019
1 parent ac00c66 commit e763310
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/llmq/quorums_instantsend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e763310

Please sign in to comment.