Tidy tab formatting

This commit is contained in:
Paul Hauner 2021-12-14 15:53:03 +11:00
parent fb520a8356
commit d1851dce21
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ def is_optimistic(block: BeaconBlock) -> bool:
```python
def latest_valid_ancestor(block: BeaconBlock) -> BeaconBlock:
while block.parent_root != Root():
if not is_optimistic(block) or block.parent_root == Root():
return block
if not is_optimistic(block) or block.parent_root == Root():
return block
block = get_block(block.parent_root)
```