From 38e166d4a3233449542bf421d40a67e3ef947355 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Sun, 3 Mar 2019 06:01:03 -0600 Subject: [PATCH] More python typos! --- specs/core/0_beacon-chain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 6e4e74b63..369c74a20 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -2268,7 +2268,7 @@ def should_update_validator_registry(state: BeaconState) -> bool: if state.finalized_epoch <= state.validator_registry_update_epoch: return False # Must have processed new crosslinks on all shards of the current epoch - shards_to_check [ + shards_to_check = [ (state.current_shuffling_start_shard + i) % SHARD_COUNT for i in range(get_current_epoch_committee_count(state)) ] @@ -2340,7 +2340,7 @@ def update_registry_and_shuffling_data(state: BeaconState) -> None: state.current_shuffling_epoch = next_epoch state.current_shuffling_start_shard = ( state.current_shuffling_start_shard + - get_current_epoch_committee_count(state)) % SHARD_COUNT + get_current_epoch_committee_count(state) % SHARD_COUNT ) state.current_shuffling_seed = generate_seed(state, state.current_shuffling_epoch) else: