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

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
shampoobera committed Jul 19, 2023
1 parent 2673789 commit 63cc441
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions eth/core/precompile/method_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ func (m *Method) ValidateBasic() error {
return errors.New("number of return types mismatch")
}
// If the function does not take any inputs, no need to check.
// Note again that for NumIn(), we check for 2 args, because the first two are the receiver and
// Context due to the nature of Go's `reflect` package.
if abiMethodNumIn == 0 {
return nil
}
Expand Down

0 comments on commit 63cc441

Please sign in to comment.