From 2625896263775cbe6134e1dcfa670f98aba34467 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Fri, 3 May 2024 13:35:53 +0100 Subject: [PATCH] Remove "bad ip" comment again --- crates/librqbit/src/peer_connection.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/librqbit/src/peer_connection.rs b/crates/librqbit/src/peer_connection.rs index 95719fa..a7c77ca 100644 --- a/crates/librqbit/src/peer_connection.rs +++ b/crates/librqbit/src/peer_connection.rs @@ -105,10 +105,6 @@ impl PeerConnection { ) -> anyhow::Result<()> { use tokio::io::AsyncWriteExt; - // if self.addr.ip().to_string() != "213.189.217.38" { - // bail!("bad ip") - // } - let rwtimeout = self .options .read_write_timeout @@ -153,10 +149,6 @@ impl PeerConnection { &self, outgoing_chan: tokio::sync::mpsc::UnboundedReceiver, ) -> anyhow::Result<()> { - // if self.addr.ip().to_string() != "213.189.217.38" { - // bail!("bad ip") - // } - use tokio::io::AsyncWriteExt; let rwtimeout = self .options