From 171c6067e852dc84c44ce25d2f4d316b6b93b40e Mon Sep 17 00:00:00 2001 From: William Banfield <4561443+williambanfield@users.noreply.github.com> Date: Sat, 26 Feb 2022 15:27:52 -0500 Subject: [PATCH] Update consensus/reactor.go Co-authored-by: M. J. Fromberger --- consensus/reactor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/reactor.go b/consensus/reactor.go index ddcc9beec..415457364 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -493,7 +493,7 @@ func (conR *Reactor) sendNewRoundStepMessage(peer p2p.Peer) { func (conR *Reactor) updateRoundStateRoutine() { t := time.NewTicker(100 * time.Microsecond) defer t.Stop() - for range t { + for range t.C { if !conR.IsRunning() { return }