mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 20:16:36 +00:00
internal/ethapi: fix comment typo (#25548)
This commit is contained in:
parent
2c5648d891
commit
fa1305f8bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue