diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-27 18:22:18 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-30 08:53:57 +0100 |
commit | 4082e4660305f7696949c3a13e2e9611210894e8 (patch) | |
tree | 0c9cf30842663b53cbe95300688b0a9f29d9a985 /src/main.cpp | |
parent | 947d20b84ab271bec5ff08312921961627d1ad80 (diff) |
[Qt] call GuessVerificationProgress synchronous during core signal, pass double over UI signal
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
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()); |