diff options
author | Jon Atack <jon@atack.com> | 2023-02-15 14:03:37 -0800 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2023-02-15 14:42:28 -0800 |
commit | 30a3230e86dfd49c771432be6219841df5066eb4 (patch) | |
tree | 46906922d3d749496989a78f5648827c31e601aa /src/net.cpp | |
parent | 0e015146bd98831290b2b141914e3f93baf5bf8f (diff) |
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.
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 4f4e443976..884fe25543 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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()); |