diff options
| author | Jonas Schnelli <[email protected]> | 2015-11-27 18:22:18 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2015-11-30 08:53:57 +0100 |
| commit | 4082e4660305f7696949c3a13e2e9611210894e8 (patch) | |
| tree | 0c9cf30842663b53cbe95300688b0a9f29d9a985 /src/main.cpp | |
| parent | [Qt] reduce cs_main in getVerificationProgress() (diff) | |
| download | discoin-4082e4660305f7696949c3a13e2e9611210894e8.tar.xz discoin-4082e4660305f7696949c3a13e2e9611210894e8.zip | |
[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 b41c1ad2e..385ab7153 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()); |