From 3e57bd526615ea801726b6651f5dbd25312dd9f9 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Thu, 18 Oct 2018 15:47:54 -0400 Subject: [PATCH] Update beacon-chain.md --- specs/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/beacon-chain.md b/specs/beacon-chain.md index 111966c9b..bcf45c68c 100644 --- a/specs/beacon-chain.md +++ b/specs/beacon-chain.md @@ -449,7 +449,7 @@ Here's a diagram of what's going on: We also make a function for generating persistent committees: ```python -def get_persistent_shuffling(validators: List[ValidatorRecord], seed: Hash32): +def get_persistent_shuffling(validators: List[ValidatorRecord], seed: Hash32) -> List[List[int]]: active_validators = get_active_validator_indices(validators) shuffled_active_validator_indices = shuffle(active_validators, seed) return split(shuffled_active_validator_indices, SHARD_COUNT)