Log unknown collator (#2367)

This commit is contained in:
Sergei Shulepov
2021-02-02 18:28:55 +01:00
committed by GitHub
parent d353c76e26
commit 8a0c8cc425
@@ -537,6 +537,12 @@ where
if let Some(collator) = state.known_collators.get(&origin) {
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(_, _, _) => {