mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-13 20:24:22 +00:00
fix shard delta for latest shard change
This commit is contained in:
parent
b6158e080a
commit
9c662ec4c3
@ -2083,7 +2083,7 @@ def update_registry(state: BeaconState) -> None:
|
||||
update_validator_registry(state)
|
||||
state.latest_start_shard = (
|
||||
state.latest_start_shard +
|
||||
get_epoch_committee_count(state, get_current_epoch(state))
|
||||
get_shard_delta(state, get_current_epoch(state))
|
||||
) % SHARD_COUNT
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user