Fix qt crash after 4930 (#4992)

This commit is contained in:
UdjinM6 2022-08-28 16:46:59 +03:00 committed by GitHub
parent 19d08ca3ba
commit e3cee6366e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {