aboutsummaryrefslogtreecommitdiff
path: root/src/dummywallet.cpp
diff options
context:
space:
mode:
authorIvan Metlushko <metlushko@gmail.com>2020-07-19 14:31:51 +0700
committerIvan Metlushko <metlushko@gmail.com>2020-07-29 16:36:44 +0700
commita316e9ce265212a7c6c4ef7922420f6ecba9e7b0 (patch)
tree1520d2825059fd44380bbf3f17605f4ca0dc4b04 /src/dummywallet.cpp
parent2f71a1ea35667b3873197201531e7ae198ec5bf4 (diff)
refactor: add unused ArgsManager to replace gArgs
Diffstat (limited to 'src/dummywallet.cpp')
-rw-r--r--src/dummywallet.cpp4
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",