Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Add tracing.
Browse files Browse the repository at this point in the history
  • Loading branch information
eskimor committed May 19, 2021
1 parent fe8a53c commit d0b6766
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions node/network/gossip-support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ async fn determine_relevant_authorities(
relay_parent: Hash,
) -> Result<Vec<AuthorityDiscoveryId>, util::Error> {
let authorities = util::request_authorities(relay_parent, ctx.sender()).await.await??;
tracing::debug!(
target: LOG_TARGET,
authority_count = ?authorities.len(),
"Determined relevant authorities"
);
Ok(authorities)
}

Expand Down

0 comments on commit d0b6766

Please sign in to comment.