Skip to content

Commit

Permalink
fix maverick
Browse files Browse the repository at this point in the history
  • Loading branch information
ulbqb committed Nov 29, 2022
1 parent 50b9637 commit 02a0eb8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/maverick/consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,6 @@ func (cs *State) updateToState(state sm.State) {
}

// Reset fields based on state.
validators := state.Validators
voters := state.Voters

switch {
Expand Down Expand Up @@ -915,7 +914,6 @@ func (cs *State) updateToState(state sm.State) {
cs.CommitRound = -1
cs.LastVoters = state.LastVoters
cs.TriggeredTimeoutPrecommit = false
cs.Proposer = validators.SelectProposer(state.LastProofHash, cs.Height, cs.Round)

cs.state = state

Expand Down

0 comments on commit 02a0eb8

Please sign in to comment.