There was an error while loading. Please reload this page.
1 parent fdcd880 commit e8d0badCopy full SHA for e8d0bad
1 file changed
src/lean_spec/subspecs/forkchoice/store.py
@@ -791,6 +791,8 @@ def get_attestation_target(self) -> Checkpoint:
791
for _ in range(JUSTIFICATION_LOOKBACK_SLOTS):
792
if self.blocks[target_block_root].slot > self.blocks[self.safe_target].slot:
793
target_block_root = self.blocks[target_block_root].parent_root
794
+ else:
795
+ break
796
797
# Ensure target is in justifiable slot range
798
#
0 commit comments