getAllAncestorBlocks
should not return the self block
#4546
Labels
meta-bug
Issues that identify a bug and require a fix.
meta-investigate
Issues found that require further investigation and may not have a specific resolution/fix
prio-low
This is nice to have.
Describe the bug
Currently when the
forkchoice.getAllAncestorBlocks
is called with a block root. The resulting array contains the block itself as well.Expected behavior
Any block is not an ancestor to itself so should not be part of the result for
forkchoice.getAllAncestorBlocks
.Steps to Reproduce
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: