Skip to content

Commit

Permalink
eth/catalyst: fix final block
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed May 10, 2022
1 parent e068edc commit 38b368b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/catalyst/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (api *ConsensusAPI) ForkchoiceUpdatedV1(update beacon.ForkchoiceStateV1, pa
return beacon.STATUS_INVALID, errors.New("final block not canonical")
}
// Set the finalized block
api.eth.BlockChain().SetFinalized(block)
api.eth.BlockChain().SetFinalized(finalBlock)
}
// Check if the safe block hash is in our canonical tree, if not somethings wrong
if update.SafeBlockHash != (common.Hash{}) {
Expand Down

0 comments on commit 38b368b

Please sign in to comment.