diff --git a/internal/blocksync/reactor.go b/internal/blocksync/reactor.go index 53d83eb99..1902780d6 100644 --- a/internal/blocksync/reactor.go +++ b/internal/blocksync/reactor.go @@ -557,7 +557,7 @@ func (r *Reactor) poolRoutine(ctx context.Context, stateSynced bool, blockSyncCh // validate the block before we persist it err = r.blockExec.ValidateBlock(ctx, state, first) } - if err == nil && state.ConsensusParams.Vote.RequireExtensions(state.LastBlockHeight+1) { + if err == nil && state.ConsensusParams.Vote.RequireExtensions(extCommit.Height) { // if vote extensions were required at this height, ensure they exist. err = extCommit.EnsureExtensions() }