]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Revert "WindowManager: warn on non-deterministic wallet"
authortobtoht <tob@featherwallet.org>
Mon, 30 Jan 2023 16:00:37 +0000 (17:00 +0100)
committertobtoht <tob@featherwallet.org>
Mon, 30 Jan 2023 16:00:37 +0000 (17:00 +0100)
This reverts commit db56f99493d8716b75e54bb7e7cb8e0e806354bd.

src/WindowManager.cpp

index a987b527431504645e5f1b7d217d2ee6697edf16..7ee8f45f703f4c4250001f31bde1143224191e3e 100644 (file)
@@ -204,21 +204,6 @@ void WindowManager::onWalletOpened(Wallet *wallet) {
 //        }
 //    }
 
-    if (!wallet->viewOnly() && !wallet->isHwBacked()) {
-        if (!wallet->isDeterministic()) {
-            auto result = QMessageBox::question(nullptr, "Non-deterministic wallet",
-                                                "This wallet is not deterministic. This may be caused by a corrupt keys file. "
-                                                "If you are unsure what this means, RESTORE YOUR WALLET FROM SEED.\n\n"
-                                                "USING THIS WALLET FILE MAY RESULT IN A LOSS OF FUNDS.\n\n"
-                                                "Open this wallet anyway?");
-            if (result == QMessageBox::No) {
-                wallet->deleteLater();
-                this->initWizard();
-                return;
-            }
-        }
-    }
-
     // Create new mainwindow with wallet
 
     m_splashDialog->hide();