From 551d493c420b1e3fb7ef18e6896bfe89acc59b29 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 19 May 2022 20:20:45 -0400 Subject: [PATCH] do not save seen commit as canonical --- internal/store/store.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/store/store.go b/internal/store/store.go index a7ab35c58..1ba7e398d 100644 --- a/internal/store/store.go +++ b/internal/store/store.go @@ -576,11 +576,6 @@ func (bs *BlockStore) saveBlockToBatch(batch dbm.Batch, block *types.Block, bloc return err } - pbec := seenCommit.ToProto() - extCommitBytes := mustEncode(pbec) - if err := batch.Set(blockCommitKey(height), extCommitBytes); err != nil { - return err - } return nil }