From 2668f19d262554ce4c4e5204ba1ce46e4acf7c3f Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Mon, 9 May 2022 19:16:03 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: M. J. Fromberger --- internal/blocksync/reactor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/blocksync/reactor.go b/internal/blocksync/reactor.go index 60b334fab..2312a69cd 100644 --- a/internal/blocksync/reactor.go +++ b/internal/blocksync/reactor.go @@ -463,6 +463,7 @@ func (r *Reactor) poolRoutine(ctx context.Context, stateSynced bool, blockSyncCh ) switch { + // TODO(sergio) Might be needed for implementing the upgrading solution. Remove after that //case state.LastBlockHeight > 0 && r.store.LoadBlockExtCommit(state.LastBlockHeight) == nil: case state.LastBlockHeight > 0 && blocksSynced == 0: // Having state-synced, we need to blocksync at least one block