fix crash

This commit is contained in:
UdjinM6 2016-02-20 22:03:19 +03:00
parent 29b1af2bb1
commit 045877b93c

View File

@ -434,6 +434,9 @@ void OverviewPage::updateDarksendProgress()
void OverviewPage::darkSendStatus() void OverviewPage::darkSendStatus()
{ {
if (!chainActive.Tip()) return;
if(!masternodeSync.IsBlockchainSynced() || ShutdownRequested()) return;
static int64_t nLastDSProgressBlockTime = 0; static int64_t nLastDSProgressBlockTime = 0;
int nBestHeight = chainActive.Tip()->nHeight; int nBestHeight = chainActive.Tip()->nHeight;