mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 23:07:59 +01:00
wallet: Avoid showing GUI popups on RPC errors (take 2)
This commit is contained in:
parent
8021392b82
commit
faffa7f0dc
1 changed files with 0 additions and 2 deletions
|
@ -3651,9 +3651,7 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (auto spk_man = walletInstance->m_spk_man.get()) {
|
if (auto spk_man = walletInstance->m_spk_man.get()) {
|
||||||
std::string error;
|
|
||||||
if (!spk_man->Upgrade(prev_version, error)) {
|
if (!spk_man->Upgrade(prev_version, error)) {
|
||||||
chain.initError(error);
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue