From 127c0009e35fea1b7e828e643e446fd878b1bc3f Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 1 Jul 2022 13:48:37 +0200 Subject: [PATCH] Disable foreign wallet warning for now --- src/WindowManager.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/WindowManager.cpp b/src/WindowManager.cpp index 64978a3..efba573 100644 --- a/src/WindowManager.cpp +++ b/src/WindowManager.cpp @@ -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()) {