mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 20:57:10 +00:00
chore: cargo fmt + fix clippy warnings
This commit is contained in:
@@ -421,7 +421,11 @@ where
|
||||
// first forkchoice update sends a valid head to the EL.
|
||||
let parent_hash = if anchor_block.slot() == spec.genesis_slot
|
||||
&& anchor_state.slot() == spec.genesis_slot
|
||||
&& signed_bid.message().parent_block_hash().into_root().is_zero()
|
||||
&& signed_bid
|
||||
.message()
|
||||
.parent_block_hash()
|
||||
.into_root()
|
||||
.is_zero()
|
||||
&& signed_bid.message().block_hash().into_root().is_zero()
|
||||
{
|
||||
*anchor_state
|
||||
|
||||
Reference in New Issue
Block a user