mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
Log unknown collator (#2367)
This commit is contained in:
@@ -537,6 +537,12 @@ where
|
|||||||
|
|
||||||
if let Some(collator) = state.known_collators.get(&origin) {
|
if let Some(collator) = state.known_collators.get(&origin) {
|
||||||
notify_candidate_selection(ctx, collator.clone(), relay_parent, para_id).await;
|
notify_candidate_selection(ctx, collator.clone(), relay_parent, para_id).await;
|
||||||
|
} else {
|
||||||
|
tracing::debug!(
|
||||||
|
target: LOG_TARGET,
|
||||||
|
peer_id = ?origin,
|
||||||
|
"advertise collation received from an unknown collator",
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RequestCollation(_, _, _) => {
|
RequestCollation(_, _, _) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user