mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
SQUASHME: NetworkIdFromCommandLine() function instead of method
This commit is contained in:
parent
3fdb9e8c15
commit
b796cb084b
3 changed files with 14 additions and 13 deletions
|
|
@ -242,7 +242,7 @@ void SelectParams(CBaseChainParams::Network network) {
|
|||
|
||||
bool SelectParamsFromCommandLine()
|
||||
{
|
||||
CBaseChainParams::Network network = CBaseChainParams::NetworkIdFromCommandLine();
|
||||
CBaseChainParams::Network network = NetworkIdFromCommandLine();
|
||||
if (network == CBaseChainParams::MAX_NETWORK_TYPES)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue