mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 05:05:00 -05:00
lint fix
This commit is contained in:
@@ -195,7 +195,10 @@ def get_best_light_client_aggregate(block: BeaconBlock,
|
||||
aggregates: Sequence[LightClientVote]) -> LightClientVote:
|
||||
viable_aggregates = [
|
||||
aggregate for aggregate in aggregates
|
||||
if aggregate.data.slot == compute_previous_slot(block.slot) and aggregate.data.beacon_block_root == block.parent_root
|
||||
if (
|
||||
aggregate.data.slot == compute_previous_slot(block.slot)
|
||||
and aggregate.data.beacon_block_root == block.parent_root
|
||||
)
|
||||
]
|
||||
|
||||
return max(
|
||||
|
||||
Reference in New Issue
Block a user