mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge 4769942d90 into merged_master (Bitcoin PR #19624)
This commit is contained in:
commit
dad417577a
2 changed files with 17 additions and 3 deletions
|
|
@ -417,6 +417,14 @@ bool ArgsManager::ReadSettingsFile(std::vector<std::string>* errors)
|
|||
SaveErrors(read_errors, errors);
|
||||
return false;
|
||||
}
|
||||
for (const auto& setting : m_settings.rw_settings) {
|
||||
std::string section;
|
||||
std::string key = setting.first;
|
||||
(void)InterpretOption(section, key, /* value */ {}); // Split setting key into section and argname
|
||||
if (!GetArgFlags('-' + key)) {
|
||||
LogPrintf("Ignoring unknown rw_settings value %s\n", setting.first);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue