mirror of
https://github.com/feather-wallet/feather.git
synced 2025-03-12 09:37:47 +00:00
Revert "WindowManager: warn on non-deterministic wallet"
This reverts commit db56f99493
.
This commit is contained in:
parent
285ce6469a
commit
3c580f9e62
1 changed files with 0 additions and 15 deletions
|
@ -204,21 +204,6 @@ void WindowManager::onWalletOpened(Wallet *wallet) {
|
|||
// }
|
||||
// }
|
||||
|
||||
if (!wallet->viewOnly() && !wallet->isHwBacked()) {
|
||||
if (!wallet->isDeterministic()) {
|
||||
auto result = QMessageBox::question(nullptr, "Non-deterministic wallet",
|
||||
"This wallet is not deterministic. This may be caused by a corrupt keys file. "
|
||||
"If you are unsure what this means, RESTORE YOUR WALLET FROM SEED.\n\n"
|
||||
"USING THIS WALLET FILE MAY RESULT IN A LOSS OF FUNDS.\n\n"
|
||||
"Open this wallet anyway?");
|
||||
if (result == QMessageBox::No) {
|
||||
wallet->deleteLater();
|
||||
this->initWizard();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Create new mainwindow with wallet
|
||||
|
||||
m_splashDialog->hide();
|
||||
|
|
Loading…
Reference in a new issue