mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-11 06:11:07 +00:00
Update internal/consensus/reactor.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
@@ -216,10 +216,8 @@ func (r *Reactor) OnStart(ctx context.Context) error {
|
||||
if err := r.state.Start(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
if err := r.state.updateStateFromStore(); err != nil {
|
||||
return err
|
||||
}
|
||||
} else if err := r.state.updateStateFromStore(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
go r.updateRoundStateRoutine(ctx)
|
||||
|
||||
Reference in New Issue
Block a user