Skip to content

Commit

Permalink
set next validators along with validators while replay (tendermint#2637)
Browse files Browse the repository at this point in the history
  • Loading branch information
melekes authored and alessio committed Oct 18, 2018
1 parent adf8cea commit 7220167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ func (h *Handshaker) ReplayBlocks(state sm.State, appHash []byte, appBlockHeight
return nil, err
}
state.Validators = types.NewValidatorSet(vals)
state.NextValidators = types.NewValidatorSet(vals)
}
if res.ConsensusParams != nil {
state.ConsensusParams = types.PB2TM.ConsensusParams(res.ConsensusParams)
Expand Down

0 comments on commit 7220167

Please sign in to comment.