mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-13 12:14:19 +00:00
Update specs/core/0_beacon-chain.md
Co-Authored-By: djrtwo <dannyjryan@gmail.com>
This commit is contained in:
parent
ca3d0b8b53
commit
ce73a8327f
@ -980,7 +980,7 @@ def get_crosslink_committees_at_slot(state: BeaconState,
|
||||
"""
|
||||
epoch = slot_to_epoch(slot)
|
||||
current_epoch = get_current_epoch(state)
|
||||
previous_epoch = current_epoch - 1 if epoch > GENESIS_EPOCH else current_epoch
|
||||
previous_epoch = current_epoch - 1 if current_epoch > GENESIS_EPOCH else current_epoch
|
||||
next_epoch = current_epoch + 1
|
||||
|
||||
assert previous_epoch <= epoch < next_epoch
|
||||
|
Loading…
x
Reference in New Issue
Block a user