Skip to content

Commit 5f23531

Browse files
committed
CRegTestParams: Use args instead of gArgs.
1 parent 2aab8a6 commit 5f23531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chainparams.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ class CRegTestParams : public CChainParams {
423423
pchMessageStart[2] = 0xb5;
424424
pchMessageStart[3] = 0xda;
425425
nDefaultPort = 18444;
426-
nPruneAfterHeight = gArgs.GetBoolArg("-fastprune", false) ? 100 : 1000;
426+
nPruneAfterHeight = args.GetBoolArg("-fastprune", false) ? 100 : 1000;
427427
m_assumed_blockchain_size = 0;
428428
m_assumed_chain_state_size = 0;
429429

0 commit comments

Comments
 (0)