|
|
@ -33,7 +33,7 @@ static bool AppInitRPC(int argc, char* argv[]) |
|
|
|
fprintf(stderr,"Error reading configuration file: %s\n", e.what()); |
|
|
|
fprintf(stderr,"Error reading configuration file: %s\n", e.what()); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
// Check for -testnet or -regtest parameter (TestNet() calls are only valid after this clause)
|
|
|
|
// Check for -testnet or -regtest parameter (Params() calls are only valid after this clause)
|
|
|
|
if (!SelectParamsFromCommandLine()) { |
|
|
|
if (!SelectParamsFromCommandLine()) { |
|
|
|
fprintf(stderr, "Error: Invalid combination of -regtest and -testnet.\n"); |
|
|
|
fprintf(stderr, "Error: Invalid combination of -regtest and -testnet.\n"); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|