mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-01 03:44:30 +00:00
Satisfy Clippy, remove non-tree-states code
This commit is contained in:
@@ -1037,13 +1037,14 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
|
||||
.minimal_block_root_verification()
|
||||
.state_root_iter(state_root_iter)
|
||||
.apply_blocks(blocks, Some(target_slot))
|
||||
.and_then(|block_replayer| {
|
||||
.map(|block_replayer| {
|
||||
// FIXME(sproul): tweak state miss condition
|
||||
if block_replayer.state_root_miss() && false {
|
||||
/*
|
||||
if block_replayer.state_root_miss() {
|
||||
Err(Error::MissingStateRoot(target_slot))
|
||||
} else {
|
||||
Ok(block_replayer.into_state())
|
||||
}
|
||||
*/
|
||||
block_replayer.into_state()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user