Skip to content

Commit

Permalink
Fix javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
  • Loading branch information
fab-10 committed Jul 20, 2023
1 parent 6961a85 commit 9e688bc
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ ForkchoiceResult updateForkChoice(
*/
Optional<Hash> getLatestValidAncestor(BlockHeader blockheader);

/**
* Checks if a block descend from another
*
* @param ancestorBlock the ancestor block
* @param newBlock the block we want to check if is descendant
* @return true if newBlock is a descendant of ancestorBlock
*/
boolean isDescendantOf(final BlockHeader ancestorBlock, final BlockHeader newBlock);

/**
Expand Down

0 comments on commit 9e688bc

Please sign in to comment.