mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-24 01:20:56 +00:00
Fix typo in get_start_shard
This commit is contained in:
parent
33552279bf
commit
34d42b640d
@ -520,7 +520,7 @@ def get_start_shard(state: BeaconState, slot: Slot) -> Shard:
|
||||
"""
|
||||
Return the start shard at ``slot``.
|
||||
"""
|
||||
epoch = compute_epoch_at_slot(Slot(_slot))
|
||||
epoch = compute_epoch_at_slot(Slot(slot))
|
||||
committee_count = get_committee_count_per_slot(state, epoch)
|
||||
active_shard_count = get_active_shard_count(state, epoch)
|
||||
return committee_count * slot % active_shard_count
|
||||
|
Loading…
x
Reference in New Issue
Block a user