Skip to content

Commit faffa7f

Browse files
author
MarcoFalke
committed
wallet: Avoid showing GUI popups on RPC errors (take 2)
1 parent 8021392 commit faffa7f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/wallet/wallet.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3651,9 +3651,7 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
36513651
}
36523652

36533653
if (auto spk_man = walletInstance->m_spk_man.get()) {
3654-
std::string error;
36553654
if (!spk_man->Upgrade(prev_version, error)) {
3656-
chain.initError(error);
36573655
return nullptr;
36583656
}
36593657
}

0 commit comments

Comments
 (0)