1
1
Fork 0
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:
Jason Rhinelander 2020-05-04 13:02:28 -03:00
parent 1d98632fd3
commit 4f09090c58

View file

@ -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