diff --git a/blockchain/v0/reactor.go b/blockchain/v0/reactor.go index ac2ef8ece..81fad4932 100644 --- a/blockchain/v0/reactor.go +++ b/blockchain/v0/reactor.go @@ -256,8 +256,13 @@ func (bcR *BlockchainReactor) Receive(chID byte, src p2p.Peer, msgBytes []byte) func (bcR *BlockchainReactor) poolRoutine(stateSynced bool) { trySyncTicker := time.NewTicker(trySyncIntervalMS * time.Millisecond) + defer trySyncTicker.Stop() + statusUpdateTicker := time.NewTicker(statusUpdateIntervalSeconds * time.Second) + defer statusUpdateTicker.Stop() + switchToConsensusTicker := time.NewTicker(switchToConsensusIntervalSeconds * time.Second) + defer switchToConsensusTicker.Stop() blocksSynced := uint64(0)