aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b41c1ad2e1..385ab71538 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2638,9 +2638,8 @@ bool ActivateBestChain(CValidationState &state, const CChainParams& chainparams,
GetMainSignals().UpdatedBlockTip(pindexNewTip);
}
}
- if (!vHashes.empty()) {
- uiInterface.NotifyBlockTip(fInitialDownload, pindexNewTip);
- }
+ // Always notify the UI if a new block tip was connected
+ uiInterface.NotifyBlockTip(fInitialDownload, pindexNewTip);
} while(pindexMostWork != chainActive.Tip());
CheckBlockIndex(chainparams.GetConsensus());