From 045877b93c4982e04459c161957d70b9879d906f Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 20 Feb 2016 22:03:19 +0300 Subject: [PATCH] fix crash --- src/qt/overviewpage.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index 06f8e39a6f..78fd819b34 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -434,6 +434,9 @@ void OverviewPage::updateDarksendProgress() void OverviewPage::darkSendStatus() { + if (!chainActive.Tip()) return; + if(!masternodeSync.IsBlockchainSynced() || ShutdownRequested()) return; + static int64_t nLastDSProgressBlockTime = 0; int nBestHeight = chainActive.Tip()->nHeight;