mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge f22bca6473 into merged_master (Bitcoin PR #29636
This commit is contained in:
commit
16c494c081
3 changed files with 16 additions and 12 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue