Skip to content

Commit f951ddd

Browse files
MarcoFalkePastaPastaPasta
authored andcommitted
Merge 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 bitcoin#13311. I believe that `gArgs` was just overlooked at the modified line. ACKs for top commit: MarcoFalke: cr ACK 5f23531 Tree-SHA512: f4e4ed6b23fca60e88825b502f20a1341ee2e4429bc8a2a7e419057adb643abda11be2061fe7ee076931657736e629aff88fd2c33737c84c330dc9d64f368c30
1 parent d613458 commit f951ddd

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
@@ -854,7 +854,7 @@ class CRegTestParams : public CChainParams {
854854
nDefaultPort = 19899;
855855
nDefaultPlatformP2PPort = 22200;
856856
nDefaultPlatformHTTPPort = 22201;
857-
nPruneAfterHeight = gArgs.GetBoolArg("-fastprune", false) ? 100 : 1000;
857+
nPruneAfterHeight = args.GetBoolArg("-fastprune", false) ? 100 : 1000;
858858
m_assumed_blockchain_size = 0;
859859
m_assumed_chain_state_size = 0;
860860

0 commit comments

Comments
 (0)