Skip to content

Commit 0011167

Browse files
author
MarcoFalke
committed
Merge bitcoin/bitcoin#22135: CRegTestParams: Use args instead of gArgs.
5f23531 CRegTestParams: Use `args` instead of `gArgs`. (Kiminuo) Pull request description: This PR is a very minor follow-up to #13311. I believe that `gArgs` was just overlooked at the modified line. ACKs for top commit: MarcoFalke: cr ACK 5f23531 Tree-SHA512: f4e4ed6b23fca60e88825b502f20a1341ee2e4429bc8a2a7e419057adb643abda11be2061fe7ee076931657736e629aff88fd2c33737c84c330dc9d64f368c30
2 parents fd7a770 + 5f23531 commit 0011167

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)