Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsson49 committed Jun 17, 2020
1 parent adced70 commit e479e96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion specs/phase1/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e479e96

Please sign in to comment.