mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-08 00:34:37 +00:00
Fix bad suggestion
This commit is contained in:
parent
06ead3aa0d
commit
80b94ba058
@ -51,7 +51,7 @@ def get_head(store: Store) -> Root:
|
||||
# Get available children for the current slot
|
||||
children = [
|
||||
root for (root, block) in blocks.items()
|
||||
if block.parent_root == head and is_data_available(root):
|
||||
if block.parent_root == head and is_data_available(root)
|
||||
]
|
||||
if len(children) == 0:
|
||||
return head
|
||||
|
Loading…
x
Reference in New Issue
Block a user