mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
script: remove out-of-date snprintf TODO
that was resolved in PR27036 "test: Remove last uses of snprintf and simplify" and while here, fix up 2 words in docs to make the spelling linter green again.
This commit is contained in:
@@ -1671,7 +1671,7 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect)
|
||||
// Therefore, we do not add them to addrman in the first place.
|
||||
// In case previously unreachable networks become reachable
|
||||
// (e.g. in case of -onlynet changes by the user), fixed seeds will
|
||||
// be loaded only for networks for which we have no addressses.
|
||||
// be loaded only for networks for which we have no addresses.
|
||||
seed_addrs.erase(std::remove_if(seed_addrs.begin(), seed_addrs.end(),
|
||||
[&fixed_seed_networks](const CAddress& addr) { return fixed_seed_networks.count(addr.GetNetwork()) == 0; }),
|
||||
seed_addrs.end());
|
||||
|
||||
Reference in New Issue
Block a user