From 7736843917fc7a496b54c8a9af151f80705bf93c Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Thu, 10 Jan 2019 21:01:30 -0600 Subject: [PATCH] Update specs/core/0_beacon-chain.md Co-Authored-By: vbuterin --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 29c0a4793..090567886 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -916,7 +916,7 @@ def get_current_epoch_committee_count_per_slot(state: BeaconState) -> int: def get_shard_committees_at_slot(state: BeaconState, slot: int) -> List[Tuple[List[int], int]]: """ - Returns (i) the list of committees and (ii) the shard associated with the first committee for the ``slot``. + Returns the list of ``(committee, shard)`` tuples for the ``slot``. """ earliest_slot = state.slot - (state.slot % EPOCH_LENGTH) - EPOCH_LENGTH assert earliest_slot <= slot < earliest_slot + EPOCH_LENGTH * 2