internal/ethapi: fix comment typo (#25548)

This commit is contained in:
ucwong 2022-08-19 14:01:09 +08:00 committed by Daniel Liu
parent 49b54aaede
commit e4153f756d

View file

@ -250,7 +250,7 @@ func (args *TransactionArgs) ToMessage(b Backend, number *big.Int, globalGasCap
gasPrice = args.GasPrice.ToInt()
gasFeeCap, gasTipCap = gasPrice, gasPrice
} else {
// User specified 1559 gas feilds (or none), use those
// User specified 1559 gas fields (or none), use those
gasFeeCap = new(big.Int)
if args.MaxFeePerGas != nil {
gasFeeCap = args.MaxFeePerGas.ToInt()