mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-19 07:00:30 -04:00
Remove sleep that seems unnecessary
This commit is contained in:
parent
4a4e23038b
commit
2abf65f3b6
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue