diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-09-22 00:53:25 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-10-18 23:26:06 +0100 |
commit | d1b03b8e5f04a2cc9ebb985bd9a1aebd2068f757 (patch) | |
tree | 15591cb226059861f5aaec4777dbc6c57de0af47 /src/dummywallet.cpp | |
parent | fc4db35bfd78d85d6b52d5da3d89696160658450 (diff) |
interfaces: Add getWalletDir and listWalletDir to Node
Diffstat (limited to 'src/dummywallet.cpp')
-rw-r--r-- | src/dummywallet.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dummywallet.cpp b/src/dummywallet.cpp index 3714187a96..3eb77354c1 100644 --- a/src/dummywallet.cpp +++ b/src/dummywallet.cpp @@ -34,6 +34,16 @@ void DummyWalletInit::AddWalletOptions() const const WalletInitInterface& g_wallet_init_interface = DummyWalletInit(); +fs::path GetWalletDir() +{ + throw std::logic_error("Wallet function called in non-wallet build."); +} + +std::vector<fs::path> ListWalletDir() +{ + throw std::logic_error("Wallet function called in non-wallet build."); +} + std::vector<std::shared_ptr<CWallet>> GetWallets() { throw std::logic_error("Wallet function called in non-wallet build."); |