Merge pull request #1859 from ethereum/ralexstokes-patch-1

Update fork choice spec comment for clarity
This commit is contained in:
Danny Ryan
2020-05-31 14:13:58 -06:00
committed by GitHub

View File

@@ -150,7 +150,7 @@ def get_ancestor(store: Store, root: Root, slot: Slot) -> Root:
elif block.slot == slot:
return root
else:
# root is older than queried slot, thus a skip slot. Return earliest root prior to slot
# root is older than queried slot, thus a skip slot. Return most recent root prior to slot
return root
```