forked from cerc-io/plugeth
internal/ethapi: fix comment typo (#25548)
This commit is contained in:
parent
2c5648d891
commit
fa1305f8bf
@ -238,7 +238,7 @@ func (args *TransactionArgs) ToMessage(globalGasCap uint64, baseFee *big.Int) (t
|
|||||||
gasPrice = args.GasPrice.ToInt()
|
gasPrice = args.GasPrice.ToInt()
|
||||||
gasFeeCap, gasTipCap = gasPrice, gasPrice
|
gasFeeCap, gasTipCap = gasPrice, gasPrice
|
||||||
} else {
|
} else {
|
||||||
// User specified 1559 gas feilds (or none), use those
|
// User specified 1559 gas fields (or none), use those
|
||||||
gasFeeCap = new(big.Int)
|
gasFeeCap = new(big.Int)
|
||||||
if args.MaxFeePerGas != nil {
|
if args.MaxFeePerGas != nil {
|
||||||
gasFeeCap = args.MaxFeePerGas.ToInt()
|
gasFeeCap = args.MaxFeePerGas.ToInt()
|
||||||
|
Loading…
Reference in New Issue
Block a user