aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2023-02-15 14:03:37 -0800
committerJon Atack <jon@atack.com>2023-02-15 14:42:28 -0800
commit30a3230e86dfd49c771432be6219841df5066eb4 (patch)
tree46906922d3d749496989a78f5648827c31e601aa /src/net.cpp
parent0e015146bd98831290b2b141914e3f93baf5bf8f (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.cpp2
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());