aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2015-11-27 18:22:18 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2015-11-30 08:53:57 +0100
commit4082e4660305f7696949c3a13e2e9611210894e8 (patch)
tree0c9cf30842663b53cbe95300688b0a9f29d9a985 /src/main.cpp
parent947d20b84ab271bec5ff08312921961627d1ad80 (diff)
[Qt] call GuessVerificationProgress synchronous during core signal, pass double over UI signal
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());