aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-05-30 20:17:25 +0000
committertobtoht <tob@featherwallet.org>2026-05-30 20:17:25 +0000
commit8a1de602f0a049d85d6f2c7a231d90b3c9cb310e (patch)
treebde5738a816c008fa3b6b716507a34fb163833f8
parent468c7599beed0736d6c570c4fb99611417366204 (diff)
parente354264e0c046454dc01f71eeb3fe8098e248ec6 (diff)
downloadmonzero-core-8a1de602f0a049d85d6f2c7a231d90b3c9cb310e.tar.gz
monzero-core-8a1de602f0a049d85d6f2c7a231d90b3c9cb310e.tar.xz
monzero-core-8a1de602f0a049d85d6f2c7a231d90b3c9cb310e.zip
Merge pull request #10649
e354264 Fixed dangling iterator in is_remote_host_allowed (SChernykh)
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 11474aaaa..d1f7e7cdd 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -206,8 +206,8 @@ namespace nodetool
{
if (now >= it->second)
{
- it = m_blocked_subnets.erase(it);
MCLOG_CYAN(el::Level::Info, "global", "Subnet " << it->first.host_str() << " unblocked.");
+ it = m_blocked_subnets.erase(it);
continue;
}
if (it->first.matches(ipv4_address))