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
parent ae3e3bd151
commit 052c54ecb0
8 changed files with 17 additions and 14 deletions

View File

@ -88,7 +88,7 @@ static int AppInitRawTx(int argc, char* argv[])
return EXIT_FAILURE;
}
// Check for -testnet or -regtest parameter (Params() calls are only valid after this clause)
// Check for -chain, -testnet or -regtest parameter (Params() calls are only valid after this clause)
try {
SelectParams(gArgs.GetChainName());
} catch (const std::exception& e) {