broadcast on newStepCh on switch to consensus reactor

This commit is contained in:
Ethan Buchman
2015-05-04 19:08:07 -04:00
parent 84c3fd9a85
commit ff87958f95
2 changed files with 2 additions and 1 deletions

View File

@ -245,6 +245,7 @@ func (conR *ConsensusReactor) SetPrivValidator(priv *sm.PrivValidator) {
// Reset to some state.
func (conR *ConsensusReactor) ResetToState(state *sm.State) {
conR.conS.updateToState(state, false)
conR.conS.newStepCh <- conR.conS.getRoundState()
}
// implements events.Eventable