diff options
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/clientmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index f41da519df..927554eaaf 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -267,8 +267,8 @@ void ClientModel::subscribeToCoreSignals() TipChanged(sync_state, tip, verification_progress, /*header=*/false); }); m_handler_notify_header_tip = m_node.handleNotifyHeaderTip( - [this](SynchronizationState sync_state, interfaces::BlockTip tip, double verification_progress) { - TipChanged(sync_state, tip, verification_progress, /*header=*/true); + [this](SynchronizationState sync_state, interfaces::BlockTip tip, bool presync) { + if (!presync) TipChanged(sync_state, tip, /*verification_progress=*/0.0, /*header=*/true); }); } |