mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Remove sleep that seems unnecessary
This commit is contained in:
parent
4a4e23038b
commit
2abf65f3b6
@ -72,8 +72,6 @@ impl EventLoopHandle {
|
|||||||
debug!("Attempt to dial Alice {}", peer_id);
|
debug!("Attempt to dial Alice {}", peer_id);
|
||||||
let _ = self.dial_alice.send(peer_id).await?;
|
let _ = self.dial_alice.send(peer_id).await?;
|
||||||
|
|
||||||
std::thread::sleep(std::time::Duration::from_millis(100));
|
|
||||||
|
|
||||||
self.conn_established
|
self.conn_established
|
||||||
.recv()
|
.recv()
|
||||||
.await
|
.await
|
||||||
|
Loading…
Reference in New Issue
Block a user