mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
refactor: Avoid using IsArgSet() on -debug, -loglevel, and -vbparams list options
This commit does not change behavior, it just drops unnecessary IsArgSet() calls for -debug, -loglevel, and -vbparams options. The calls are unnecessary because GetArgs() already returns empty arrays if these arguments are not specified.
This commit is contained in:
parent
3d1e8ca53a
commit
d05668922a
2 changed files with 0 additions and 6 deletions
|
|
@ -66,8 +66,6 @@ void ReadRegTestArgs(const ArgsManager& args, CChainParams::RegTestOptions& opti
|
|||
}
|
||||
}
|
||||
|
||||
if (!args.IsArgSet("-vbparams")) return;
|
||||
|
||||
for (const std::string& strDeployment : args.GetArgs("-vbparams")) {
|
||||
std::vector<std::string> vDeploymentParams = SplitString(strDeployment, ':');
|
||||
if (vDeploymentParams.size() < 3 || 4 < vDeploymentParams.size()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue