diff --git a/src/util/system.cpp b/src/util/system.cpp index 3ddb69e82b..b9b1312646 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -359,25 +359,6 @@ const std::set ArgsManager::GetUnsuitableSectionOnlyArgs() const return unsuitables; } - -const std::set ArgsManager::GetUnrecognizedSections() const -{ - // Section names to be recognized in the config file. - static const std::set available_sections{ - CBaseChainParams::REGTEST, - CBaseChainParams::TESTNET, - CBaseChainParams::MAIN - }; - std::set diff; - - LOCK(cs_args); - std::set_difference( - m_config_sections.begin(), m_config_sections.end(), - available_sections.begin(), available_sections.end(), - std::inserter(diff, diff.end())); - return diff; -} - void ArgsManager::SelectConfigNetwork(const std::string& network) { LOCK(cs_args); diff --git a/src/util/system.h b/src/util/system.h index d85b2dbcb5..6372acd148 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -171,11 +171,6 @@ class ArgsManager */ const std::set GetUnsuitableSectionOnlyArgs() const; - /** - * Log warnings for unrecognized section names in the config file. - */ - const std::set GetUnrecognizedSections() const; - /** * Return a vector of strings of the given argument *