Update 0_beacon-chain.md

This commit is contained in:
Justin 2019-03-15 09:45:20 +00:00 committed by GitHub
parent 5d327b6364
commit 68d1c74784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -811,8 +811,8 @@ def compute_committee(validator_indices: List[ValidatorIndex],
index: int,
total_committees: int) -> List[ValidatorIndex]:
"""
Return the index'th shuffled committee out of a total `total_committees`
using the given validator_indices and seed
Return the ``index``'th shuffled committee out of a total ``total_committees``
using ``validator_indices`` and ``seed``.
"""
start_offset = get_split_offset(len(validator_indices), total_committees, index)
end_offset = get_split_offset(len(validator_indices), total_committees, index + 1)