Don't start minions to seek an empty list of ancestors

This commit is contained in:
Mike Dilger 2023-02-04 14:03:35 +13:00
parent 3b934a9442
commit 6cf4f9654c

View File

@ -1115,6 +1115,11 @@ impl Overlord {
let missing_ancestors_hex: Vec<IdHex> =
missing_ancestors.iter().map(|id| (*id).into()).collect();
if missing_ancestors_hex.is_empty() {
return Ok(());
}
tracing::debug!("Seeking ancestors {:?}", missing_ancestors_hex);
// Clean up relays