mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 17:39:49 +00:00
Disable foreign wallet warning for now
This commit is contained in:
parent
e549438130
commit
127c0009e3
1 changed files with 9 additions and 9 deletions
|
@ -185,15 +185,15 @@ void WindowManager::onWalletOpened(Wallet *wallet) {
|
||||||
|
|
||||||
this->onInitialNetworkConfigured();
|
this->onInitialNetworkConfigured();
|
||||||
|
|
||||||
if (!wallet->cacheAttributeExists("feather.xmrig_password") && !wallet->cacheAttributeExists("feather.created")) {
|
// if (!wallet->cacheAttributeExists("feather.xmrig_password") && !wallet->cacheAttributeExists("feather.created")) {
|
||||||
auto result = QMessageBox::question(nullptr, "Foreign wallet",
|
// 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?");
|
// "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) {
|
// if (result == QMessageBox::No) {
|
||||||
wallet->deleteLater();
|
// wallet->deleteLater();
|
||||||
this->initWizard();
|
// this->initWizard();
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (!wallet->viewOnly() && !wallet->isHwBacked()) {
|
if (!wallet->viewOnly() && !wallet->isHwBacked()) {
|
||||||
if (!wallet->isDeterministic()) {
|
if (!wallet->isDeterministic()) {
|
||||||
|
|
Loading…
Reference in a new issue