Browse Source

types: remove dots from errors in SignedHeader#ValidateBasic

pull/4186/head
Anton Kaliaev 5 years ago
parent
commit
208a8d37e6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      types/block.go

+ 2
- 2
types/block.go View File

@ -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.


Loading…
Cancel
Save