Skip to content

Commit

Permalink
Remove special handling for gas estimation (#2274)
Browse files Browse the repository at this point in the history
This is now done by the `SkipDebitCredit` flag.

Resolves #2267
  • Loading branch information
palango authored Mar 4, 2024
1 parent a3a9e0e commit 8d0f0f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions contracts/erc20gas/erc20gas.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ const (
)

func DebitFees(evm *vm.EVM, address common.Address, amount *big.Int, feeCurrency *common.Address) error {
if amount.Cmp(big.NewInt(0)) == 0 {
return nil
}
// Function is "debitGasFees(address from, uint256 value)"
// selector is first 4 bytes of keccak256 of "debitGasFees(address,uint256)"
// Source:
Expand Down

0 comments on commit 8d0f0f9

Please sign in to comment.