mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
WIP - Logging - Log peer id in muxer
This commit is contained in:
parent
4c310c3a6c
commit
17a4ca0ebb
@ -34,7 +34,10 @@ pub fn build_clear_net(id_keys: &identity::Keypair) -> Result<SwapTransport> {
|
||||
MplexConfig::new(),
|
||||
))
|
||||
.timeout(Duration::from_secs(20))
|
||||
.map(|(peer, muxer), _| (peer, StreamMuxerBox::new(muxer)))
|
||||
.map(|(peer, muxer), _| {
|
||||
tracing::debug!("Muxer peer id: {}", peer);
|
||||
(peer, StreamMuxerBox::new(muxer))
|
||||
})
|
||||
.boxed();
|
||||
|
||||
Ok(transport)
|
||||
|
Loading…
Reference in New Issue
Block a user