Skip to content

Commit

Permalink
Authority discovery: Log when we found addresses for an authority (pa…
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored and ark0f committed Feb 27, 2023
1 parent 8d2942a commit 9dc10dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/authority-discovery/src/worker/addr_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ impl AddrCache {
);
}

log::debug!(
target: super::LOG_TARGET,
"Found addresses for authority {authority_id:?}: {addresses:?}",
);

let old_addresses = self.authority_id_to_addresses.insert(authority_id.clone(), addresses);
let old_peer_ids = addresses_to_peer_ids(&old_addresses.unwrap_or_default());

Expand Down

0 comments on commit 9dc10dc

Please sign in to comment.