Skip to content

Commit

Permalink
Remove unused param in TransferValueWithGas
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Apr 17, 2024
1 parent 45b0d18 commit 12d913a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/evm/testutil/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,11 @@ func (suite *TestSuite) TransferValue(
return nil, nil, err
}

return suite.TransferValueWithGas(from, to, res.Gas, amount)
return suite.TransferValueWithGas(to, res.Gas, amount)
}

func (suite *TestSuite) TransferValueWithGas(
from, to common.Address,
to common.Address,
gas uint64,
amount *big.Int,
) (*types.MsgEthereumTx, *types.MsgEthereumTxResponse, error) {
Expand Down

0 comments on commit 12d913a

Please sign in to comment.