From 208a8d37e68ab6d8e5ca73955563df5f6fb91b08 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 20 Nov 2019 13:17:11 +0400 Subject: [PATCH] types: remove dots from errors in SignedHeader#ValidateBasic --- types/block.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/block.go b/types/block.go index 50f33d4d7..6d2a8e0bc 100644 --- a/types/block.go +++ b/types/block.go @@ -698,10 +698,10 @@ func (sh SignedHeader) ValidateBasic(chainID string) error { // Make sure the header is consistent with the commit. if sh.Header == nil { - return errors.New("signedHeader missing header.") + return errors.New("signedHeader missing header") } if sh.Commit == nil { - return errors.New("signedHeader missing commit (precommit votes).") + return errors.New("signedHeader missing commit (precommit votes)") } // Check ChainID.