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 ltfschoen committed Feb 22, 2023
1 parent a0657f6 commit 4143f90
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 4143f90

Please sign in to comment.