diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 86b9d3547..01c90670a 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -941,7 +941,7 @@ def get_beacon_proposer_index(state: BeaconState, Returns the beacon proposer index for the ``slot``. """ first_committee, _ = get_crosslink_committees_at_slot(state, slot)[0] - return return first_committee[slot % len(first_committee)] + return first_committee[slot % len(first_committee)] ``` diff --git a/specs/validator/0_beacon-chain-validator.md b/specs/validator/0_beacon-chain-validator.md index 8b59f69e3..7187407bc 100644 --- a/specs/validator/0_beacon-chain-validator.md +++ b/specs/validator/0_beacon-chain-validator.md @@ -344,7 +344,7 @@ Either (2) or (3) occurs if (1) fails. The choice between (2) and (3) is determi ```python get_next_epoch_crosslink_committees(state: BeaconState, - validator_index: ValidatorIndex) -> List[List[ValidatorIndex], ShardNumber]: + validator_index: ValidatorIndex) -> List[Tuple[ValidatorIndex], ShardNumber]: current_epoch = get_current_epoch(state) next_epoch = current_epoch + 1 next_epoch_start_slot = get_epoch_start_slot(next_epoch)