mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-10 15:30:14 -04:00
Fix dprint formatting errors
This commit is contained in:
parent
4194fa39ae
commit
d051e0f15b
2 changed files with 9 additions and 11 deletions
|
@ -12,7 +12,8 @@ use libp2p::{Multiaddr, PeerId};
|
|||
use std::task::{Context, Poll};
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
/// A `NetworkBehaviour` that handles registration of the xmr-btc swap service with a rendezvous point
|
||||
/// A `NetworkBehaviour` that handles registration of the xmr-btc swap service
|
||||
/// with a rendezvous point
|
||||
pub struct Behaviour {
|
||||
rendezvous_behaviour: libp2p::rendezvous::Rendezvous,
|
||||
rendezvous_point_peer_id: PeerId,
|
||||
|
|
|
@ -156,16 +156,13 @@ async fn init_containers(cli: &Cli) -> (Monero, Containers<'_>) {
|
|||
.await
|
||||
.unwrap();
|
||||
|
||||
(
|
||||
monero,
|
||||
Containers {
|
||||
bitcoind_url,
|
||||
bitcoind,
|
||||
monerod_container,
|
||||
monero_wallet_rpc_containers,
|
||||
electrs,
|
||||
},
|
||||
)
|
||||
(monero, Containers {
|
||||
bitcoind_url,
|
||||
bitcoind,
|
||||
monerod_container,
|
||||
monero_wallet_rpc_containers,
|
||||
electrs,
|
||||
})
|
||||
}
|
||||
|
||||
async fn init_bitcoind_container(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue