From a53d7a3f0cc559ea2afb7829d519935dcfa28b4c Mon Sep 17 00:00:00 2001 From: William Banfield Date: Fri, 20 May 2022 11:37:04 -0400 Subject: [PATCH] fix additional nil pointer --- internal/blocksync/reactor.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/blocksync/reactor.go b/internal/blocksync/reactor.go index 37f3afc8d..2361dc90b 100644 --- a/internal/blocksync/reactor.go +++ b/internal/blocksync/reactor.go @@ -590,10 +590,6 @@ func (r *Reactor) poolRoutine(ctx context.Context, stateSynced bool, blockSyncCh if err == nil && state.ConsensusParams.ABCI.VoteExtensionsEnabled(first.Height) { // if vote extensions were required at this height, ensure they exist. err = extCommit.EnsureExtensions() - } else if err == nil && !state.ConsensusParams.ABCI.VoteExtensionsEnabled(extCommit.Height) { - if stripped := extCommit.StripExtensions(); stripped { - r.logger.Error("commit included extension data but vote extensions are not enabled") - } } // If either of the checks failed we log the error and request for a new block // at that height