Skip to content

Commit

Permalink
chore: remove receiver & arg names on statefulPrecompile.RequiredGas()
Browse files Browse the repository at this point in the history
  • Loading branch information
ARR4N committed Sep 16, 2024
1 parent 4b2eeee commit a2f5d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/contracts.libevm.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type statefulPrecompile PrecompiledStatefulContract

// RequiredGas always returns zero as this gas is consumed before the contract
// is run.
func (p statefulPrecompile) RequiredGas(input []byte) uint64 { return 0 }
func (statefulPrecompile) RequiredGas([]byte) uint64 { return 0 }

func (p statefulPrecompile) Run([]byte) ([]byte, error) {
// https://google.github.io/styleguide/go/best-practices.html#when-to-panic
Expand Down

0 comments on commit a2f5d18

Please sign in to comment.