We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1799d3c commit 6269840Copy full SHA for 6269840
node/router/src/lib.rs
@@ -145,7 +145,7 @@ pub trait PeerPoolHandling<N: Network>: P2P {
145
}
146
// If the IP is already banned, reject the attempt.
147
if self.is_ip_banned(listener_addr.ip()) {
148
- bail!("{{Self::OWNER}} Rejected a connection attempt to a banned IP '{}'", listener_addr.ip());
+ bail!("{} Rejected a connection attempt to a banned IP '{}'", Self::OWNER, listener_addr.ip());
149
150
Ok(false)
151
0 commit comments