mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-14 17:26:11 -04:00
Fix clippy warning
This commit is contained in:
parent
49b84d84b9
commit
df237f82cf
1 changed files with 2 additions and 2 deletions
|
@ -200,8 +200,8 @@ impl EventLoop {
|
||||||
OutEvent::Message3 => info!("Alice acknowledged message 3 received"),
|
OutEvent::Message3 => info!("Alice acknowledged message 3 received"),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
null = self.dial_alice.next().fuse() => {
|
option = self.dial_alice.next().fuse() => {
|
||||||
if let Some(_) = null {
|
if option.is_some() {
|
||||||
let peer_id = self.alice_peer_id.clone();
|
let peer_id = self.alice_peer_id.clone();
|
||||||
if self.swarm.pt.is_connected(&peer_id) {
|
if self.swarm.pt.is_connected(&peer_id) {
|
||||||
debug!("Already connected to Alice: {}", peer_id);
|
debug!("Already connected to Alice: {}", peer_id);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue