Skip to content

Commit

Permalink
remove obsolate error
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg committed Sep 18, 2024
1 parent f7fcb5a commit 1ce5a47
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,11 @@ func verify[H Header[H]](trstd, untrstd H) error {
}

var (
ErrZeroHeader = errors.New("zero header")
ErrWrongChainID = errors.New("wrong chain id")
ErrUnorderedTime = errors.New("unordered headers")
ErrFromFuture = errors.New("header is from the future")
ErrKnownHeader = errors.New("known header")
ErrHeightFromFuture = errors.New("header height is far from future")
ErrZeroHeader = errors.New("zero header")
ErrWrongChainID = errors.New("wrong chain id")
ErrUnorderedTime = errors.New("unordered headers")
ErrFromFuture = errors.New("header is from the future")
ErrKnownHeader = errors.New("known header")
)

// VerifyError is thrown if a Header failed verification.
Expand Down

0 comments on commit 1ce5a47

Please sign in to comment.