mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 11:45:18 +00:00
types: remove dots from errors in SignedHeader#ValidateBasic
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user