diff --git a/consensus/state.go b/consensus/state.go index 299e8dc61..53560a584 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -666,7 +666,6 @@ func (cs *State) updateToState(state sm.State) { } // Reset fields based on state. - validators := state.Validators voters := state.Voters switch { @@ -727,7 +726,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 diff --git a/test/maverick/consensus/state.go b/test/maverick/consensus/state.go index a89a41071..0d3648ff7 100644 --- a/test/maverick/consensus/state.go +++ b/test/maverick/consensus/state.go @@ -858,7 +858,6 @@ func (cs *State) updateToState(state sm.State) { } // Reset fields based on state. - validators := state.Validators voters := state.Voters switch { @@ -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