diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-01-12 11:47:04 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-02-04 12:20:42 +0000 |
commit | 17abc0fd52510bfeb85a7b5be04001075ec78b6b (patch) | |
tree | dab3db76b7929f76ba8deedebdf57ebb40c3a24b /src/dummywallet.cpp | |
parent | 64127b3098a1aab70200b6d07194dce072ad5cf2 (diff) |
wallet: Factor out LoadWallet
Diffstat (limited to 'src/dummywallet.cpp')
-rw-r--r-- | src/dummywallet.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dummywallet.cpp b/src/dummywallet.cpp index 9211a7596b..8a76021a5b 100644 --- a/src/dummywallet.cpp +++ b/src/dummywallet.cpp @@ -8,6 +8,10 @@ class CWallet; +namespace interfaces { +class Chain; +} + class DummyWalletInit : public WalletInitInterface { public: @@ -43,6 +47,11 @@ std::vector<std::shared_ptr<CWallet>> GetWallets() throw std::logic_error("Wallet function called in non-wallet build."); } +std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const std::string& name, std::string& error, std::string& warning) +{ + throw std::logic_error("Wallet function called in non-wallet build."); +} + namespace interfaces { class Wallet; |