Skip to content

Commit

Permalink
Update precompiles/werc20/werc20.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fedekunze committed Nov 21, 2023
1 parent 828030e commit abcdc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precompiles/werc20/werc20.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (p Precompile) RequiredGas(input []byte) uint64 {
// to ensure parity in the values.

// If there is no method ID, then it's the fallback or receive case
if len(input) == 0 || len(input) < 4 {
if len(input) < 4 {
return DepositRequiredGas
}

Expand Down

0 comments on commit abcdc56

Please sign in to comment.