diff options
| author | tobtoht <tob@featherwallet.org> | 2026-05-30 20:17:25 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2026-05-30 20:17:25 +0000 |
| commit | 8a1de602f0a049d85d6f2c7a231d90b3c9cb310e (patch) | |
| tree | bde5738a816c008fa3b6b716507a34fb163833f8 | |
| parent | 468c7599beed0736d6c570c4fb99611417366204 (diff) | |
| parent | e354264e0c046454dc01f71eeb3fe8098e248ec6 (diff) | |
| download | monzero-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.inl | 2 |
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)) |
