diff --git a/internal/store/store.go b/internal/store/store.go index ec9e27205..ba8303f95 100644 --- a/internal/store/store.go +++ b/internal/store/store.go @@ -498,7 +498,7 @@ func (bs *BlockStore) SaveBlockWithExtendedCommit(block *types.Block, blockParts panic("BlockStore can only save a non-nil block") } if err := seenExtendedCommit.EnsureExtensions(); err != nil { - panic(fmt.Errorf("saving block with extensions %w", err)) + panic(fmt.Errorf("saving block with extensions: %w", err)) } batch := bs.db.NewBatch() if err := bs.saveBlockToBatch(batch, block, blockParts, seenExtendedCommit.ToCommit()); err != nil { diff --git a/types/block.go b/types/block.go index 9267dcc98..f508245bb 100644 --- a/types/block.go +++ b/types/block.go @@ -773,7 +773,7 @@ func (ecs ExtendedCommitSig) ValidateBasic() error { // this ExtendedCommitSig. func (ecs ExtendedCommitSig) EnsureExtension() error { if ecs.BlockIDFlag == BlockIDFlagCommit && len(ecs.ExtensionSignature) == 0 { - return errors.New("vote extension signature is missing") + return errors.New("vote extension data is missing") } return nil }