diff --git a/broadcast/errors.go b/broadcast/errors.go index c123903..7f922f8 100644 --- a/broadcast/errors.go +++ b/broadcast/errors.go @@ -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{}