mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-16 18:20:45 -04:00
Properly format output of commands history, config, balance and list-sellers using tracing
This commit is contained in:
parent
490c1d2ec1
commit
e03865e172
2 changed files with 53 additions and 32 deletions
|
@ -200,7 +200,7 @@ impl EventLoop {
|
|||
for registration in registrations {
|
||||
let peer = registration.record.peer_id();
|
||||
for address in registration.record.addresses() {
|
||||
tracing::info!("Discovered peer {} at {}", peer, address);
|
||||
tracing::info!(peer_id=%peer, address=%address, "Discovered peer");
|
||||
|
||||
let p2p_suffix = Protocol::P2p(*peer.as_ref());
|
||||
let _address_with_p2p = if !address
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue