mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Add [network]:enabled to ignored settings list
No one knows what this option does or did, but it is in some generated config files.
This commit is contained in:
parent
1d98632fd3
commit
4f09090c58
1 changed files with 3 additions and 1 deletions
|
@ -204,7 +204,7 @@ namespace llarp
|
|||
"network", "blacklist-snode", false, true, "", [this](std::string arg) {
|
||||
RouterID id;
|
||||
if (not id.FromString(arg))
|
||||
throw std::invalid_argument(stringify("Invalide RouterID: ", arg));
|
||||
throw std::invalid_argument(stringify("Invalid RouterID: ", arg));
|
||||
|
||||
auto itr = m_snodeBlacklist.emplace(std::move(id));
|
||||
if (itr.second)
|
||||
|
@ -509,6 +509,8 @@ namespace llarp
|
|||
addIgnoreOption("router", "threads");
|
||||
|
||||
addIgnoreOption("metrics", "json-metrics-path");
|
||||
|
||||
addIgnoreOption("network", "enabled");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue