mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-22 15:16:24 +00:00
Update consensus/reactor.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
co-authored by
M. J. Fromberger
parent
5d2b515d3f
commit
1d0037e800
@@ -491,7 +491,9 @@ func (conR *Reactor) sendNewRoundStepMessage(peer p2p.Peer) {
|
||||
}
|
||||
|
||||
func (conR *Reactor) updateRoundStateRoutine() {
|
||||
for {
|
||||
t := time.NewTicker(100*time.Microsecond)
|
||||
defer t.Stop()
|
||||
for range t {
|
||||
if !conR.IsRunning() {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user