aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2019-11-11 13:58:00 -0500
committerMarcoFalke <[email protected]>2019-11-11 13:50:26 -0500
commitfaffa7f0dcc9971cb20534816eccdf75bebc853a (patch)
tree650378bdc816148c42834432d37e6bc84d4a2508 /src/wallet/wallet.cpp
parentMerge #17405: wallet: Remove unused boost::this_thread::interruption_point (diff)
downloaddiscoin-faffa7f0dcc9971cb20534816eccdf75bebc853a.tar.xz
discoin-faffa7f0dcc9971cb20534816eccdf75bebc853a.zip
wallet: Avoid showing GUI popups on RPC errors (take 2)
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 2f2931cef..ff182c847 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -3651,9 +3651,7 @@ std::shared_ptr<CWallet> 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;
}
}