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
parent
commit
4ce9ef26c8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      consensus/reactor.go

+ 3
- 1
consensus/reactor.go 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
}


Loading…
Cancel
Save