]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Disable foreign wallet warning for now
authortobtoht <thotbot@protonmail.com>
Fri, 1 Jul 2022 11:48:37 +0000 (13:48 +0200)
committertobtoht <thotbot@protonmail.com>
Fri, 1 Jul 2022 11:48:37 +0000 (13:48 +0200)
src/WindowManager.cpp

index 64978a387dd36d2441f013e42b9a2ffbf4e9cc02..efba573a5b069e84e41d54b1924e7ded3baea10f 100644 (file)
@@ -185,15 +185,15 @@ void WindowManager::onWalletOpened(Wallet *wallet) {
 
     this->onInitialNetworkConfigured();
 
-    if (!wallet->cacheAttributeExists("feather.xmrig_password") && !wallet->cacheAttributeExists("feather.created")) {
-        auto result = QMessageBox::question(nullptr, "Foreign wallet",
-                                            "This wallet file was not created with Feather. This may cause unexpected behavior. Please restore your wallet from seed.\n\nOpen this wallet anyway?");
-        if (result == QMessageBox::No) {
-            wallet->deleteLater();
-            this->initWizard();
-            return;
-        }
-    }
+//    if (!wallet->cacheAttributeExists("feather.xmrig_password") && !wallet->cacheAttributeExists("feather.created")) {
+//        auto result = QMessageBox::question(nullptr, "Foreign wallet",
+//                                            "This wallet file was not created with Feather. This may cause unexpected behavior. Please restore your wallet from seed.\n\nOpen this wallet anyway?");
+//        if (result == QMessageBox::No) {
+//            wallet->deleteLater();
+//            this->initWizard();
+//            return;
+//        }
+//    }
 
     if (!wallet->viewOnly() && !wallet->isHwBacked()) {
         if (!wallet->isDeterministic()) {