Update 0_beacon-chain.md
This commit is contained in:
parent
5d327b6364
commit
68d1c74784
|
@ -811,8 +811,8 @@ def compute_committee(validator_indices: List[ValidatorIndex],
|
||||||
index: int,
|
index: int,
|
||||||
total_committees: int) -> List[ValidatorIndex]:
|
total_committees: int) -> List[ValidatorIndex]:
|
||||||
"""
|
"""
|
||||||
Return the index'th shuffled committee out of a total `total_committees`
|
Return the ``index``'th shuffled committee out of a total ``total_committees``
|
||||||
using the given validator_indices and seed
|
using ``validator_indices`` and ``seed``.
|
||||||
"""
|
"""
|
||||||
start_offset = get_split_offset(len(validator_indices), total_committees, index)
|
start_offset = get_split_offset(len(validator_indices), total_committees, index)
|
||||||
end_offset = get_split_offset(len(validator_indices), total_committees, index + 1)
|
end_offset = get_split_offset(len(validator_indices), total_committees, index + 1)
|
||||||
|
|
Loading…
Reference in New Issue