mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Fix clippy warning
This commit is contained in:
parent
49b84d84b9
commit
df237f82cf
@ -200,8 +200,8 @@ impl EventLoop {
|
||||
OutEvent::Message3 => info!("Alice acknowledged message 3 received"),
|
||||
}
|
||||
},
|
||||
null = self.dial_alice.next().fuse() => {
|
||||
if let Some(_) = null {
|
||||
option = self.dial_alice.next().fuse() => {
|
||||
if option.is_some() {
|
||||
let peer_id = self.alice_peer_id.clone();
|
||||
if self.swarm.pt.is_connected(&peer_id) {
|
||||
debug!("Already connected to Alice: {}", peer_id);
|
||||
|
Loading…
Reference in New Issue
Block a user