mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-25 16:55:19 +00:00
remove extra var
This commit is contained in:
parent
e20e11e0b5
commit
ba6637b4d9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user