Merge pull request #1859 from ethereum/ralexstokes-patch-1
Update fork choice spec comment for clarity
This commit is contained in:
commit
82f9f3e1cd
|
@ -150,7 +150,7 @@ def get_ancestor(store: Store, root: Root, slot: Slot) -> Root:
|
||||||
elif block.slot == slot:
|
elif block.slot == slot:
|
||||||
return root
|
return root
|
||||||
else:
|
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
|
return root
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue