From 7aa906a972f8cc3171d988a5b372645c01d71257 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 30 Sep 2021 11:53:35 -0400 Subject: [PATCH] add request routine in all places --- internal/blocksync/v0/reactor.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/blocksync/v0/reactor.go b/internal/blocksync/v0/reactor.go index c56a5db30..552dcbda5 100644 --- a/internal/blocksync/v0/reactor.go +++ b/internal/blocksync/v0/reactor.go @@ -386,6 +386,9 @@ func (r *Reactor) SwitchToBlockSync(state sm.State) error { r.syncStartTime = time.Now() + r.poolWG.Add(1) + go r.requestRoutine() + r.poolWG.Add(1) go r.poolRoutine(true)