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
1 changed files with 1 additions and 1 deletions

View File

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