From a1ac0d5a80df8d88dccae15a1b9fc2ac5aca4372 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Fri, 22 Nov 2019 16:26:36 -0700 Subject: [PATCH] fix get_shard_committee --- specs/core/1_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/1_beacon-chain.md b/specs/core/1_beacon-chain.md index 6950d3517..d4531d7d9 100644 --- a/specs/core/1_beacon-chain.md +++ b/specs/core/1_beacon-chain.md @@ -354,7 +354,7 @@ def get_shard_committee(beacon_state: BeaconState, epoch: Epoch, shard: Shard) - source_epoch -= SHARD_COMMITTEE_PERIOD active_validator_indices = get_active_validator_indices(beacon_state, source_epoch) seed = get_seed(beacon_state, source_epoch, DOMAIN_SHARD_COMMITTEE) - return compute_committee(active_validator_indices, seed, 0, ACTIVE_SHARDS) + return compute_committee(active_validator_indices, seed, shard, ACTIVE_SHARDS) ``` #### `get_shard_proposer_index`