mirror of
https://github.com/fluencelabs/tendermint
synced 2025-08-01 04:31:57 +00:00
start peer before AddPeer() on reactors.
This commit is contained in:
@@ -225,8 +225,8 @@ func (conR *ConsensusReactor) SetPrivValidator(priv *sm.PrivValidator) {
|
||||
conR.conS.SetPrivValidator(priv)
|
||||
}
|
||||
|
||||
// Fast forward to some state.
|
||||
func (conR *ConsensusReactor) UpdateToState(state *sm.State) {
|
||||
// Reset to some state.
|
||||
func (conR *ConsensusReactor) ResetToState(state *sm.State) {
|
||||
conR.conS.updateToState(state, false)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user