diff --git a/src/llmq/quorums_chainlocks.cpp b/src/llmq/quorums_chainlocks.cpp index 8072d5c05b..2ed877015f 100644 --- a/src/llmq/quorums_chainlocks.cpp +++ b/src/llmq/quorums_chainlocks.cpp @@ -135,13 +135,13 @@ void CChainLocksHandler::ProcessNewChainLock(const NodeId from, const llmq::CCha return; } - g_connman->RelayInv(clsigInv, LLMQS_PROTO_VERSION); - { LOCK2(cs_main, cs); bestChainLockHash = hash; bestChainLock = clsig; + g_connman->RelayInv(clsigInv, LLMQS_PROTO_VERSION); + const CBlockIndex* pindex = LookupBlockIndex(clsig.blockHash); if (!pindex) { // we don't know the block/header for this CLSIG yet, so bail out for now