mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 14:56:10 -04:00
Add test for recursive executor
This commit is contained in:
parent
dca15b6872
commit
24631d464d
9 changed files with 175 additions and 127 deletions
|
@ -280,7 +280,11 @@ pub async fn swap(
|
|||
|
||||
pub type Swarm = libp2p::Swarm<Behaviour>;
|
||||
|
||||
fn new_swarm(listen: Multiaddr, transport: SwapTransport, behaviour: Behaviour) -> Result<Swarm> {
|
||||
pub fn new_swarm(
|
||||
listen: Multiaddr,
|
||||
transport: SwapTransport,
|
||||
behaviour: Behaviour,
|
||||
) -> Result<Swarm> {
|
||||
use anyhow::Context as _;
|
||||
|
||||
let local_peer_id = behaviour.peer_id();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue