From 01cbeabd516cc92befd4bf0be40d29b9488b7acc Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Fri, 3 May 2024 12:18:12 +0100 Subject: [PATCH] nothing... --- crates/librqbit/src/peer_connection.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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