]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
idk ok?
authorgg <chown_tee@proton.me>
Sun, 18 Jan 2026 04:28:27 +0000 (23:28 -0500)
committergg <chown_tee@proton.me>
Sun, 18 Jan 2026 04:28:27 +0000 (23:28 -0500)
src/MainWindow.cpp

index 8cffc193b2f4e42f9fa5dab9a39db663154706ad..d8f2b66eccec8fd847087310dc1f9bc6de8b90a5 100644 (file)
@@ -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) {