[upstream #8994] Testchains: Generic selection with -chain=<str> in addition of -testnet and -regtest

This commit is contained in:
Jorge Timón 2016-10-13 22:38:10 +02:00 committed by Gregory Sanders
parent 5d4dfc57cd
commit a73073011e
6 changed files with 8 additions and 7 deletions

View file

@ -108,7 +108,7 @@ static int AppInitRPC(int argc, char* argv[])
fprintf(stderr,"Error reading configuration file: %s\n", e.what());
return EXIT_FAILURE;
}
// Check for -testnet or -regtest parameter (BaseParams() calls are only valid after this clause)
// Check for -chain, -testnet or -regtest parameter (BaseParams() calls are only valid after this clause)
try {
SelectBaseParams(ChainNameFromCommandLine());
} catch (const std::exception& e) {