CRegTestParams: Use args instead of gArgs.

This commit is contained in:
Kiminuo committed 2021-06-02 22:36:48 +02:00
1 parent 2aab8a6dd0
commit 5f23531926
1 file changed
+1 -1
+1 -1
View File
@@ -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;