From 70dc94456f10de86551be2d0a1ced0645df6a5b7 Mon Sep 17 00:00:00 2001 From: Jasmina Malicevic Date: Fri, 13 May 2022 17:13:56 +0200 Subject: [PATCH] Merged with master and fixed linter error --- internal/blocksync/reactor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/blocksync/reactor.go b/internal/blocksync/reactor.go index f59c5c2e4..ac0961971 100644 --- a/internal/blocksync/reactor.go +++ b/internal/blocksync/reactor.go @@ -554,7 +554,7 @@ func (r *Reactor) poolRoutine(ctx context.Context, stateSynced bool, blockSyncCh } } var err error - // Check for nil on block to avoid the case where we failed the block validation before persistance + // Check for nil on block to avoid the case where we failed the block validation before persistence // but passed the verification before and created a lastTrustedBlock object if r.lastTrustedBlock != nil && r.lastTrustedBlock.block != nil { err = VerifyNextBlock(newBlock, newBlockID, verifyBlock, r.lastTrustedBlock.block, r.lastTrustedBlock.commit, state.Validators)