Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
chore(SPV-642): remove unused is method
Browse files Browse the repository at this point in the history
  • Loading branch information
wregulski committed May 19, 2024
1 parent 586295f commit 20246f7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions broadcast/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ func (err *ArcError) IsRejectedTransaction() bool {
return err.Status == RejectedStatus
}

// Is returns true if the target is an ArcError.
func (err *ArcError) Is(target error) bool {
var arcError *ArcError
return errors.As(target, &arcError)
}

// Error returns the error string it's the implementation of the error interface.
func (err *ArcError) Error() string {
sb := strings.Builder{}
Expand Down

0 comments on commit 20246f7

Please sign in to comment.