Merge f22bca6473 into merged_master (Bitcoin PR #29636

This commit is contained in:
Tom Trevethan 2026-02-16 21:49:32 +00:00
commit 16c494c081
3 changed files with 16 additions and 12 deletions

View file

@ -1110,7 +1110,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
if (args.IsArgSet("-test")) {
if (chainparams.GetChainTypeMeta().chain_type != ChainType::REGTEST && chainparams.GetChainTypeMeta().chain_type != ChainType::CUSTOM) {
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) {