diff options
author | Kiminuo <kiminuo@protonmail.com> | 2021-06-02 22:35:10 +0200 |
---|---|---|
committer | Kiminuo <kiminuo@protonmail.com> | 2021-06-02 22:36:48 +0200 |
commit | 5f23531926e1a9cf13bd69c09a7a8f638df1c32b (patch) | |
tree | 76dbb19d37d9af64f066d320a3ff076fc7726046 | |
parent | 2aab8a6dd0b555d0550a050064623fa7c812364b (diff) |
CRegTestParams: Use `args` instead of `gArgs`.
-rw-r--r-- | src/chainparams.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 1b71c4db43..fdaadeed4a 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -423,7 +423,7 @@ public: pchMessageStart[2] = 0xb5; pchMessageStart[3] = 0xda; nDefaultPort = 18444; - nPruneAfterHeight = gArgs.GetBoolArg("-fastprune", false) ? 100 : 1000; + nPruneAfterHeight = args.GetBoolArg("-fastprune", false) ? 100 : 1000; m_assumed_blockchain_size = 0; m_assumed_chain_state_size = 0; |