diff options
author | Ivan Metlushko <metlushko@gmail.com> | 2020-07-19 14:31:51 +0700 |
---|---|---|
committer | Ivan Metlushko <metlushko@gmail.com> | 2020-07-29 16:36:44 +0700 |
commit | a316e9ce265212a7c6c4ef7922420f6ecba9e7b0 (patch) | |
tree | 1520d2825059fd44380bbf3f17605f4ca0dc4b04 /src/dummywallet.cpp | |
parent | 2f71a1ea35667b3873197201531e7ae198ec5bf4 (diff) |
refactor: add unused ArgsManager to replace gArgs
Diffstat (limited to 'src/dummywallet.cpp')
-rw-r--r-- | src/dummywallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dummywallet.cpp b/src/dummywallet.cpp index 0f7848bae1..51bc67c7b7 100644 --- a/src/dummywallet.cpp +++ b/src/dummywallet.cpp @@ -20,12 +20,12 @@ class DummyWalletInit : public WalletInitInterface { public: bool HasWalletSupport() const override {return false;} - void AddWalletOptions() const override; + void AddWalletOptions(ArgsManager& argsman) const override; bool ParameterInteraction() const override {return true;} void Construct(NodeContext& node) const override {LogPrintf("No wallet support compiled in!\n");} }; -void DummyWalletInit::AddWalletOptions() const +void DummyWalletInit::AddWalletOptions(ArgsManager& argsman) const { gArgs.AddHiddenArgs({ "-addresstype", |