CRegTestParams: Use `args` instead of `gArgs`.

pull/826/head
Kiminuo 4 years ago
parent 2aab8a6dd0
commit 5f23531926

@ -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;

Loading…
Cancel
Save