wallet: Avoid showing GUI popups on RPC errors (take 2)

pull/764/head
MarcoFalke 5 years ago
parent 8021392b82
commit faffa7f0dc
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -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;
}
}

Loading…
Cancel
Save