mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 05:18:30 +00:00
Address clippy lints in tree-states (#4414)
* Address some clippy lints * Box errors to fix error size lint * Add Default impl for Validator * Address more clippy lints * Re-implement `check_state_diff` * Fix misc test compile errors
This commit is contained in:
@@ -1573,7 +1573,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
|
||||
(start_slot.as_u64()..=end_slot.as_u64())
|
||||
.map(Slot::new)
|
||||
.map(|slot| self.get_cold_blinded_block_by_slot(slot)),
|
||||
|iter| iter.filter_map(|x| x).collect(),
|
||||
|iter| iter.flatten().collect(),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user