mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Fix some typos (#4565)
This commit is contained in:
@@ -466,13 +466,10 @@ where
|
||||
// for lower slots to account for skip slots.
|
||||
.find(|(_, slot)| *slot <= ancestor_slot)
|
||||
.map(|(root, _)| root)),
|
||||
Ordering::Less => Ok(Some(block_root)),
|
||||
Ordering::Equal =>
|
||||
// Root is older than queried slot, thus a skip slot. Return most recent root prior
|
||||
// to slot.
|
||||
{
|
||||
Ok(Some(block_root))
|
||||
}
|
||||
Ordering::Less => Ok(Some(block_root)),
|
||||
Ordering::Equal => Ok(Some(block_root)),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user