diff --git a/crates/librqbit/src/peer_connection.rs b/crates/librqbit/src/peer_connection.rs index 106367f..127966d 100644 --- a/crates/librqbit/src/peer_connection.rs +++ b/crates/librqbit/src/peer_connection.rs @@ -105,9 +105,9 @@ impl PeerConnection { ) -> anyhow::Result<()> { use tokio::io::AsyncWriteExt; - if self.addr.ip().to_string() != "213.189.217.38" { - bail!("bad ip") - } + // if self.addr.ip().to_string() != "213.189.217.38" { + // bail!("bad ip") + // } let rwtimeout = self .options @@ -153,9 +153,9 @@ impl PeerConnection { &self, outgoing_chan: tokio::sync::mpsc::UnboundedReceiver, ) -> anyhow::Result<()> { - if self.addr.ip().to_string() != "213.189.217.38" { - bail!("bad ip") - } + // if self.addr.ip().to_string() != "213.189.217.38" { + // bail!("bad ip") + // } use tokio::io::AsyncWriteExt; let rwtimeout = self