From e763310b54810fd4ad9d84d32a3927a999edde3d Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Mon, 11 Mar 2019 15:18:15 +0100 Subject: [PATCH] Add missing LOCK(cs_main) --- src/llmq/quorums_instantsend.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/llmq/quorums_instantsend.cpp b/src/llmq/quorums_instantsend.cpp index b79a14fbe8..b5e6593f8d 100644 --- a/src/llmq/quorums_instantsend.cpp +++ b/src/llmq/quorums_instantsend.cpp @@ -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;