diff --git a/swap/src/bob.rs b/swap/src/bob.rs index 4c01bbd4..aefb3478 100644 --- a/swap/src/bob.rs +++ b/swap/src/bob.rs @@ -77,6 +77,8 @@ pub async fn swap( } } + debug!("swapping ..."); + let mut swarm = new_swarm()?; libp2p::Swarm::dial_addr(&mut swarm, addr)?; diff --git a/swap/tests/e2e.rs b/swap/tests/e2e.rs index 8ed81970..07651538 100644 --- a/swap/tests/e2e.rs +++ b/swap/tests/e2e.rs @@ -1,6 +1,7 @@ use bitcoin_harness::Bitcoind; use futures::{channel::mpsc, future::try_join}; use libp2p::Multiaddr; +use log::LevelFilter; use monero_harness::Monero; use std::sync::Arc; use swap::{alice, bob}; @@ -10,7 +11,12 @@ use tracing_subscriber::util::SubscriberInitExt; #[tokio::test] async fn swap() { let _guard = tracing_subscriber::fmt() - .with_env_filter("info") + .with_env_filter(format!( + "swap={},xmr_btc={},libp2p={}", + LevelFilter::Debug, + LevelFilter::Debug, + LevelFilter::Debug + )) .with_ansi(false) .set_default();