mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-21 00:46:32 +00:00
replace errors.go with github.com/pkg/errors (1/2) (#3888)
* (1/2) of replace errors.go with github.com/pkg/errors ref #3862 - step one in removing instances of errors.go in favor of github.com/pkg/errors Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * gofmt * add in /store
This commit is contained in:
@ -748,7 +748,7 @@ func (sh SignedHeader) ValidateBasic(chainID string) error {
|
||||
// ValidateBasic on the Commit.
|
||||
err := sh.Commit.ValidateBasic()
|
||||
if err != nil {
|
||||
return cmn.ErrorWrap(err, "commit.ValidateBasic failed during SignedHeader.ValidateBasic")
|
||||
return errors.Wrap(err, "commit.ValidateBasic failed during SignedHeader.ValidateBasic")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user