aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-cli.cpp
diff options
context:
space:
mode:
authorJorge Timón <[email protected]>2016-10-13 22:38:10 +0200
committerJorge Timón <[email protected]>2019-09-06 22:05:33 +0200
commit052c54ecb02695e5d2694e8e0cbf5ccc89de86e8 (patch)
tree6c6aaf45446fdf2e952facf3b87627f08add20f7 /src/bitcoin-cli.cpp
parentMerge #16793: refactor: Avoid locking cs_main in ProcessNewBlockHeaders (diff)
downloaddiscoin-052c54ecb02695e5d2694e8e0cbf5ccc89de86e8.tar.xz
discoin-052c54ecb02695e5d2694e8e0cbf5ccc89de86e8.zip
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp
index cde624ce7..a6756fcce 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) {