mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
The first thing that SelectParams does is call SelectBaseParams. Therefore, we do not need to call SelectBaseParams immediately prior to calling SelectParams.
This commit is contained in:
@@ -369,7 +369,6 @@ bool SelectParamsFromCommandLine()
|
||||
if (network == CBaseChainParams::MAX_NETWORK_TYPES)
|
||||
return false;
|
||||
|
||||
SelectBaseParams(network);
|
||||
SelectParams(network);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user