mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-22 06:29:09 -04:00
WIP - Logging - Log peer id in muxer
This commit is contained in:
parent
4c310c3a6c
commit
17a4ca0ebb
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,10 @@ pub fn build_clear_net(id_keys: &identity::Keypair) -> Result<SwapTransport> {
|
||||||
MplexConfig::new(),
|
MplexConfig::new(),
|
||||||
))
|
))
|
||||||
.timeout(Duration::from_secs(20))
|
.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();
|
.boxed();
|
||||||
|
|
||||||
Ok(transport)
|
Ok(transport)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue