mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 11:39:25 +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();
|
||||
|
||||
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()) {
|
||||
|
|
Loading…
Reference in a new issue