From e3cee6366e77835fc0cc3d7e581bafe494bdf764 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sun, 28 Aug 2022 16:46:59 +0300 Subject: [PATCH] Fix qt crash after 4930 (#4992) --- src/llmq/instantsend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llmq/instantsend.cpp b/src/llmq/instantsend.cpp index 4785d0ae80..4486fc8f96 100644 --- a/src/llmq/instantsend.cpp +++ b/src/llmq/instantsend.cpp @@ -1737,7 +1737,7 @@ bool CInstantSendManager::IsInstantSendMempoolSigningEnabled() const bool CInstantSendManager::RejectConflictingBlocks() const { - if (!masternodeSync->IsBlockchainSynced()) { + if (masternodeSync == nullptr || !masternodeSync->IsBlockchainSynced()) { return false; } if (!spork_manager.IsSporkActive(SPORK_3_INSTANTSEND_BLOCK_FILTERING)) {