mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-24 01:20:56 +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
|
# Get available children for the current slot
|
||||||
children = [
|
children = [
|
||||||
root for (root, block) in blocks.items()
|
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:
|
if len(children) == 0:
|
||||||
return head
|
return head
|
||||||
|
Loading…
x
Reference in New Issue
Block a user