remove extra var

This commit is contained in:
Danny Ryan 2019-11-05 11:42:40 -07:00
parent e20e11e0b5
commit ba6637b4d9
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 0 additions and 2 deletions

View File

@ -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