File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -359,25 +359,6 @@ const std::set<std::string> ArgsManager::GetUnsuitableSectionOnlyArgs() const
359359 return unsuitables;
360360}
361361
362-
363- const std::set<std::string> ArgsManager::GetUnrecognizedSections () const
364- {
365- // Section names to be recognized in the config file.
366- static const std::set<std::string> available_sections{
367- CBaseChainParams::REGTEST,
368- CBaseChainParams::TESTNET,
369- CBaseChainParams::MAIN
370- };
371- std::set<std::string> diff;
372-
373- LOCK (cs_args);
374- std::set_difference (
375- m_config_sections.begin (), m_config_sections.end (),
376- available_sections.begin (), available_sections.end (),
377- std::inserter (diff, diff.end ()));
378- return diff;
379- }
380-
381362void ArgsManager::SelectConfigNetwork (const std::string& network)
382363{
383364 LOCK (cs_args);
Original file line number Diff line number Diff line change @@ -171,11 +171,6 @@ class ArgsManager
171171 */
172172 const std::set<std::string> GetUnsuitableSectionOnlyArgs () const ;
173173
174- /* *
175- * Log warnings for unrecognized section names in the config file.
176- */
177- const std::set<std::string> GetUnrecognizedSections () const ;
178-
179174 /* *
180175 * Return a vector of strings of the given argument
181176 *
You can’t perform that action at this time.
0 commit comments