Update consensus/reactor.go

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
William Banfield
2022-03-09 17:19:47 -05:00
committed by William Banfield
co-authored by M. J. Fromberger
parent 5d2b515d3f
commit 1d0037e800
+3 -1
View File
@@ -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
}