Clean up unused variable for linter

This commit is contained in:
Alex Stokes 2020-10-07 17:11:13 -07:00 committed by GitHub
parent d0cf4e7bad
commit 663af77737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,6 @@ def get_head(store: Store) -> Root:
blocks = get_filtered_block_tree(store)
# Execute the LMD-GHOST fork choice
head = store.justified_checkpoint.root
justified_slot = compute_start_slot_at_epoch(store.justified_checkpoint.epoch)
while True:
children = [
root for root in blocks.keys()