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

Commit

Permalink
feat: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Apr 24, 2024
1 parent 927c365 commit 9e04b12
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bindings/encoding/custom_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ func TryParsingCustomError(originalError error) error {
}
}

for _, hookCustomError := range AssignmentHookABI.Errors {
if strings.HasPrefix(hookCustomError.ID.Hex(), errData) {
return errors.New(hookCustomError.Name)
}
}

return originalError
}

Expand Down

0 comments on commit 9e04b12

Please sign in to comment.