Skip to content

Commit 993ed5c

Browse files
author
Aditya Asgaonkar
committed
Resetting branch to dev and adding single commit
1 parent 67c9c06 commit 993ed5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specs/phase0/fork-choice.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ def store_target_checkpoint_state(store: Store, target: Checkpoint) -> None:
301301
# Store target checkpoint state if not yet seen
302302
if target not in store.checkpoint_states:
303303
base_state = store.block_states[target.root].copy()
304-
process_slots(base_state, compute_start_slot_at_epoch(target.epoch))
304+
if base_state.slot < compute_start_slot_at_epoch(target.epoch):
305+
process_slots(base_state, compute_start_slot_at_epoch(target.epoch))
305306
store.checkpoint_states[target] = base_state
306307
```
307308

0 commit comments

Comments
 (0)