diff --git a/radicle-node/src/wire/protocol.rs b/radicle-node/src/wire/protocol.rs index 82d62262..86322dce 100644 --- a/radicle-node/src/wire/protocol.rs +++ b/radicle-node/src/wire/protocol.rs @@ -1060,10 +1060,10 @@ pub fn dial>( signer: G, config: &service::Config, ) -> io::Result> { - // Convert the remote address into an internet protocol address (IP or DNS). let inet_addr: NetAddr = match config.tor { - // In Tor proxy mode, simply specify a different connection address. - Some(TorConfig::Proxy { address: proxy }) => remote_addr.connection_addr(proxy.into()), + // In Tor proxy mode, simply specify the proxy address for all connections, + // since we'll be routing all connections through the proxy. + Some(TorConfig::Proxy { address: proxy }) => proxy.into(), // In transparent Tor mode, we treat `.onion` addresses as regular DNS names. Some(TorConfig::Transparent) => { let host = match &remote_addr.host {