Browse Source
Update consensus/reactor.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
pull/7994/head
William Banfield
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
consensus/reactor.go
|
|
@ -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 |
|
|
|
} |
|
|
|