From: tobtoht Date: Fri, 1 Jul 2022 11:48:37 +0000 (+0200) Subject: Disable foreign wallet warning for now X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=127c0009e35fea1b7e828e643e446fd878b1bc3f;p=gamesguru%2Ffeather.git Disable foreign wallet warning for now --- diff --git a/src/WindowManager.cpp b/src/WindowManager.cpp index 64978a38..efba573a 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()) {