diff options
| author | João Barbosa <[email protected]> | 2019-01-12 11:47:04 +0000 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2019-02-04 12:20:42 +0000 |
| commit | 17abc0fd52510bfeb85a7b5be04001075ec78b6b (patch) | |
| tree | dab3db76b7929f76ba8deedebdf57ebb40c3a24b /src/dummywallet.cpp | |
| parent | Merge #15280: gui: Fix shutdown order (diff) | |
| download | discoin-17abc0fd52510bfeb85a7b5be04001075ec78b6b.tar.xz discoin-17abc0fd52510bfeb85a7b5be04001075ec78b6b.zip | |
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 9211a7596..8a76021a5 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; |