From ba6637b4d98fbfcec9721d813ae9d3deb8445436 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Tue, 5 Nov 2019 11:42:40 -0700 Subject: [PATCH] remove extra var --- specs/core/0_fork-choice.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/specs/core/0_fork-choice.md b/specs/core/0_fork-choice.md index 2e8deffdb..edd8a52fa 100644 --- a/specs/core/0_fork-choice.md +++ b/specs/core/0_fork-choice.md @@ -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