diff --git a/crates/net/common/src/ban_list.rs b/crates/net/common/src/ban_list.rs index 548dc5d33b..fdd9aabe8a 100644 --- a/crates/net/common/src/ban_list.rs +++ b/crates/net/common/src/ban_list.rs @@ -27,8 +27,6 @@ pub struct BanList { impl BanList { /// Creates a new ban list that bans the given peers and ips indefinitely. - /// - /// This will ban non-global IPs if they are included in `banned_ips` pub fn new( banned_peers: impl IntoIterator, banned_ips: impl IntoIterator, @@ -40,8 +38,6 @@ impl BanList { } /// Creates a new ban list that bans the given peers and ips with an optional timeout. - /// - /// This will ban non-global IPs if they are included in `banned_ips` pub fn new_with_timeout( banned_peers: HashMap>, banned_ips: HashMap>,