diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-04-22 00:23:33 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-04-13 13:21:41 -0400 |
commit | 1e48796c99b63aa8fa8451ce7b0c20759ea43500 (patch) | |
tree | 97bd301b647fde5e707961f8bc63912a321cc87e /src/wallet/wallet.h | |
parent | c988f27937bc79c90f4eed48552c72f1b66dc044 (diff) | |
download | bitcoin-1e48796c99b63aa8fa8451ce7b0c20759ea43500.tar.xz |
Make UpgradeWallet a member function of CWallet
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index a4787a8b21..a40c7ffe08 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1176,7 +1176,7 @@ public: }; /** Upgrade the wallet */ - static bool UpgradeWallet(std::shared_ptr<CWallet> wallet, int version, std::string& error, std::vector<std::string>& warnings); + bool UpgradeWallet(int version, std::string& error, std::vector<std::string>& warnings); //! Returns all unique ScriptPubKeyMans in m_internal_spk_managers and m_external_spk_managers std::set<ScriptPubKeyMan*> GetActiveScriptPubKeyMans() const; |