From faffa7f0dcc9971cb20534816eccdf75bebc853a Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 11 Nov 2019 13:58:00 -0500 Subject: [PATCH] wallet: Avoid showing GUI popups on RPC errors (take 2) --- src/wallet/wallet.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 2f2931cef1e..ff182c847f7 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3651,9 +3651,7 @@ std::shared_ptr CWallet::CreateWalletFromFile(interfaces::Chain& chain, } if (auto spk_man = walletInstance->m_spk_man.get()) { - std::string error; if (!spk_man->Upgrade(prev_version, error)) { - chain.initError(error); return nullptr; } }