Removed unnecesary reference

This commit is contained in:
leonardo 2022-04-22 17:14:00 +02:00
parent b31db0a143
commit 9faef08059

View File

@ -168,7 +168,7 @@ impl EventLoop {
SwarmEvent::OutgoingConnectionError { peer_id, error } => {
if let Some(peer_id_from_error) = peer_id {
if &peer_id_from_error == &self.rendezvous_peer_id {
if peer_id_from_error == self.rendezvous_peer_id {
tracing::error!(
"Failed to connect to rendezvous point at {}: {}",
&self.rendezvous_addr,