mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
refactor: add unused ArgsManager to replace gArgs
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user