Revert "allowlist ip"
This reverts commit 1860cc632724c1cb70b026e969e104d1f657aac4.
This commit is contained in:
parent
5912cbe4c2
commit
4054c36d5e
1 changed files with 0 additions and 6 deletions
|
|
@ -103,9 +103,6 @@ impl<H: PeerConnectionHandler> PeerConnection<H> {
|
|||
handshake: Handshake<ByteBufOwned>,
|
||||
mut conn: tokio::net::TcpStream,
|
||||
) -> anyhow::Result<()> {
|
||||
if self.addr.ip().to_string() != "213.189.217.38" {
|
||||
bail!("DEBUG, NOT MY PEER")
|
||||
}
|
||||
use tokio::io::AsyncWriteExt;
|
||||
|
||||
let rwtimeout = self
|
||||
|
|
@ -153,9 +150,6 @@ impl<H: PeerConnectionHandler> PeerConnection<H> {
|
|||
outgoing_chan: tokio::sync::mpsc::UnboundedReceiver<WriterRequest>,
|
||||
) -> anyhow::Result<()> {
|
||||
use tokio::io::AsyncWriteExt;
|
||||
if self.addr.ip().to_string() != "213.189.217.38" {
|
||||
bail!("DEBUG, NOT MY PEER")
|
||||
}
|
||||
|
||||
let rwtimeout = self
|
||||
.options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue