From aba7ee66f2bf1ce8e9580040afd6210b761aa10e Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Sun, 30 Jun 2019 22:20:41 -0500 Subject: [PATCH] remove length check in compute shuffled index --- specs/core/0_beacon-chain.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index a439858a0..fe2f93760 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -715,7 +715,6 @@ def compute_shuffled_index(index: ValidatorIndex, index_count: uint64, seed: Has Return the shuffled validator index corresponding to ``seed`` (and ``index_count``). """ assert index < index_count - assert index_count <= VALIDATOR_REGISTRY_LIMIT # Swap or not (https://link.springer.com/content/pdf/10.1007%2F978-3-642-32009-5_1.pdf) # See the 'generalized domain' algorithm on page 3