mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
chore: formatting in select! macro
This commit is contained in:
parent
ec169916d6
commit
dc68344b62
@ -148,7 +148,7 @@ impl EventLoop {
|
||||
swarm_event = self.swarm.select_next_some() => {
|
||||
match swarm_event {
|
||||
SwarmEvent::ConnectionEstablished { peer_id, endpoint, .. } => {
|
||||
if peer_id == self.rendezvous_peer_id{
|
||||
if peer_id == self.rendezvous_peer_id {
|
||||
tracing::info!(
|
||||
"Connected to rendezvous point, discovering nodes in '{}' namespace ...",
|
||||
self.namespace
|
||||
@ -167,7 +167,6 @@ 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 {
|
||||
tracing::error!(
|
||||
"Failed to connect to rendezvous point at {}: {}",
|
||||
|
Loading…
Reference in New Issue
Block a user