mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-20 22:38:11 +00:00
<= becomes <
This commit is contained in:
parent
c29d85aafb
commit
ddd43ad99d
@ -432,7 +432,7 @@ def shard_slot_transition(state: ShardState, beacon_state: BeaconState) -> None:
|
||||
# Save states in history accumulator
|
||||
depth = 0
|
||||
h = hash_tree_root(state)
|
||||
while state.slot % 2**depth == 0 and depth <= HISTORY_ACCUMULATOR_VECTOR:
|
||||
while state.slot % 2**depth == 0 and depth < HISTORY_ACCUMULATOR_VECTOR:
|
||||
state.history_accumulator[depth] = h
|
||||
depth += 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user