diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2016-10-13 22:38:10 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2019-09-06 22:05:33 +0200 |
commit | 052c54ecb02695e5d2694e8e0cbf5ccc89de86e8 (patch) | |
tree | 6c6aaf45446fdf2e952facf3b87627f08add20f7 /src/bitcoin-cli.cpp | |
parent | ae3e3bd151f43dfa9e08bf592aafc6066bad258d (diff) |
Testchains: Generic selection with -chain=<str> in addition of -testnet and -regtest
Diffstat (limited to 'src/bitcoin-cli.cpp')
-rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index cde624ce74..a6756fcce7 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -133,7 +133,7 @@ static int AppInitRPC(int argc, char* argv[]) tfm::format(std::cerr, "Error reading configuration file: %s\n", error.c_str()); 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(gArgs.GetChainName()); } catch (const std::exception& e) { |