Skip to content

Commit

Permalink
chore: log the actual contacts url in messages
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Sep 22, 2023
1 parent c49f614 commit 2f44954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sn_peers_acquisition/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ pub async fn parse_peers_args(args: PeersArgs) -> Result<Vec<Multiaddr>> {
} else if cfg!(feature = "network-contacts") {
#[cfg(feature = "network-contacts")]
let peers = {
info!("Trying to fetch the bootstrap peers from the network contacts URL.");
println!("Trying to fetch the bootstrap peers from the network contacts URL.");
info!("Trying to fetch the bootstrap peers from {NETWORK_CONTACTS_URL}");
println!("Trying to fetch the bootstrap peers from {NETWORK_CONTACTS_URL}");
let url = args
.network_contacts_url
.unwrap_or(Url::parse(NETWORK_CONTACTS_URL)?);
Expand Down

0 comments on commit 2f44954

Please sign in to comment.