mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-29 05:22:30 +02:00
init: clarify -test error
See https://github.com/bitcoin/bitcoin/pull/29007#discussion_r1469388717
This commit is contained in:
parent
3047c3e3a9
commit
9a44a20fb7
@ -1031,7 +1031,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
|
||||
|
||||
if (args.IsArgSet("-test")) {
|
||||
if (chainparams.GetChainType() != ChainType::REGTEST) {
|
||||
return InitError(Untranslated("-test=<option> should only be used in functional tests"));
|
||||
return InitError(Untranslated("-test=<option> can only be used with regtest"));
|
||||
}
|
||||
const std::vector<std::string> options = args.GetArgs("-test");
|
||||
for (const std::string& option : options) {
|
||||
|
Loading…
Reference in New Issue
Block a user