mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-15 19:31:35 +02:00
CRegTestParams: Use args
instead of gArgs
.
This commit is contained in:
parent
2aab8a6dd0
commit
5f23531926
@ -423,7 +423,7 @@ public:
|
|||||||
pchMessageStart[2] = 0xb5;
|
pchMessageStart[2] = 0xb5;
|
||||||
pchMessageStart[3] = 0xda;
|
pchMessageStart[3] = 0xda;
|
||||||
nDefaultPort = 18444;
|
nDefaultPort = 18444;
|
||||||
nPruneAfterHeight = gArgs.GetBoolArg("-fastprune", false) ? 100 : 1000;
|
nPruneAfterHeight = args.GetBoolArg("-fastprune", false) ? 100 : 1000;
|
||||||
m_assumed_blockchain_size = 0;
|
m_assumed_blockchain_size = 0;
|
||||||
m_assumed_chain_state_size = 0;
|
m_assumed_chain_state_size = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user