From: gg Date: Sun, 18 Jan 2026 04:28:27 +0000 (-0500) Subject: idk ok? X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=6b6bc2d7ba66dd4ee94f5674f9c2f824e2b117c2;p=gamesguru%2Ffeather.git idk ok? --- 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) {