From 5435324693ba0e24ebd26eb7c948f48c30bc5ac1 Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Wed, 17 Mar 2021 15:21:27 +0600 Subject: [PATCH] Add a line break in get_recent_beacon_block_roots Co-authored-by: Danny Ryan --- specs/merge/beacon-chain.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specs/merge/beacon-chain.md b/specs/merge/beacon-chain.md index e2ed48b3e..4d5e42920 100644 --- a/specs/merge/beacon-chain.md +++ b/specs/merge/beacon-chain.md @@ -173,7 +173,10 @@ def compute_time_at_slot(state: BeaconState, slot: Slot) -> uint64: ```python def get_recent_beacon_block_roots(state: BeaconState, qty: uint64) -> Sequence[Bytes32]: - return [get_block_root_at_slot(state.slot - i) if GENESIS_SLOT + i < state.slot else Bytes32() for i in reversed(range(1, qty + 1))] + return [ + get_block_root_at_slot(state.slot - i) if GENESIS_SLOT + i < state.slot else Bytes32() + for i in reversed(range(1, qty + 1)) + ] ``` #### `get_evm_beacon_block_roots`