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/chainparamsbase.cpp | |
parent | 2f71a1ea35667b3873197201531e7ae198ec5bf4 (diff) |
refactor: add unused ArgsManager to replace gArgs
Diffstat (limited to 'src/chainparamsbase.cpp')
-rw-r--r-- | src/chainparamsbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chainparamsbase.cpp b/src/chainparamsbase.cpp index 894b8553c4..08f605949d 100644 --- a/src/chainparamsbase.cpp +++ b/src/chainparamsbase.cpp @@ -15,7 +15,7 @@ const std::string CBaseChainParams::MAIN = "main"; const std::string CBaseChainParams::TESTNET = "test"; const std::string CBaseChainParams::REGTEST = "regtest"; -void SetupChainParamsBaseOptions() +void SetupChainParamsBaseOptions(ArgsManager& argsman) { gArgs.AddArg("-chain=<chain>", "Use the chain <chain> (default: main). Allowed values: main, test, regtest", ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS); gArgs.AddArg("-regtest", "Enter regression test mode, which uses a special chain in which blocks can be solved instantly. " |