mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 16:45:01 -05:00
remove extra var
This commit is contained in:
@@ -148,8 +148,6 @@ def get_head(store: Store) -> Hash:
|
||||
|
||||
```python
|
||||
def should_update_justified_checkpoint(store: Store, justified_checkpoint: Checkpoint) -> bool:
|
||||
current_epoch = compute_epoch_at_slot(get_current_slot(store))
|
||||
|
||||
if get_current_slot(store) % SLOTS_PER_EPOCH < SAFE_SLOTS_TO_UPDATE_JUSTIFIED:
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user