Fix bad suggestion

This commit is contained in:
Justin Traglia 2024-08-07 15:24:48 -05:00 committed by GitHub
parent 06ead3aa0d
commit 80b94ba058
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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