do not save seen commit as canonical

This commit is contained in:
William Banfield
2022-05-19 21:37:28 -04:00
parent fd2a7df517
commit 551d493c42
-5
View File
@@ -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
}