mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 08:35:40 +00:00
Authority discovery: Log when we found addresses for an authority (#12960)
This commit is contained in:
@@ -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_addresses = self.authority_id_to_addresses.insert(authority_id.clone(), addresses);
|
||||||
let old_peer_ids = addresses_to_peer_ids(&old_addresses.unwrap_or_default());
|
let old_peer_ids = addresses_to_peer_ids(&old_addresses.unwrap_or_default());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user