From 6b6bc2d7ba66dd4ee94f5674f9c2f824e2b117c2 Mon Sep 17 00:00:00 2001 From: gg Date: Sat, 17 Jan 2026 23:28:27 -0500 Subject: [PATCH] idk ok? --- src/MainWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 8cffc193..d8f2b66e 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1965,6 +1965,10 @@ QString MainWindow::getPausedStatusText() { quint64 walletHeight = m_wallet->blockChainHeight(); quint64 targetHeight = m_wallet->daemonBlockChainTargetHeight(); + if (targetHeight == 0) { + targetHeight = conf()->get(Config::lastKnownNetworkHeight).toULongLong(); + } + if (walletHeight > 0 && targetHeight > 0) { quint64 blocksBehind = Utils::blocksBehind(walletHeight, targetHeight); if (blocksBehind > 0) { -- 2.52.0