mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 11:41:51 +00:00
@@ -135,7 +135,7 @@ impl BlockCache {
|
||||
///
|
||||
/// - If the cache is not empty and `item.block.block_number - 1` is not already in `self`.
|
||||
/// - If `item.block.block_number` is in `self`, but is not identical to the supplied
|
||||
/// `Eth1Snapshot`.
|
||||
/// `Eth1Snapshot`.
|
||||
/// - If `item.block.timestamp` is prior to the parent.
|
||||
pub fn insert_root_or_child(&mut self, block: Eth1Block) -> Result<(), Error> {
|
||||
let expected_block_number = self
|
||||
|
||||
Reference in New Issue
Block a user