Change range of leader scheduler to match current broadcasts (#1920)
This commit is contained in:
@@ -280,6 +280,9 @@ pub fn process_blob(
|
||||
let slot = blob.read().unwrap().slot()?;
|
||||
let leader = leader_scheduler.get_leader_for_slot(slot);
|
||||
|
||||
// TODO: Once the original leader signature is added to the blob, make sure that
|
||||
// the blob was originally generated by the expected leader for this slot
|
||||
|
||||
if leader.is_none() {
|
||||
return Ok(());
|
||||
}
|
||||
|
Reference in New Issue
Block a user