diff --git a/consensus/tendermint/adapter/store.go b/consensus/tendermint/adapter/store.go index 8199c5b00be6..25925efa9e39 100644 --- a/consensus/tendermint/adapter/store.go +++ b/consensus/tendermint/adapter/store.go @@ -117,6 +117,9 @@ func (s *Store) ValidateBlock(state pbft.ChainState, block *types.FullBlock) (er state.ChainID, state.LastBlockID, block.NumberU64()-1, block.LastCommit); err != nil { return err } + if block.Block.Header().LastCommitHash != block.LastCommit.Hash() { + return errors.New("header.LastCommitHash != LastCommit.Hash()") + } } // Validate block Time with LastCommit