Skip to content

Commit 980b768

Browse files
authored
core/types: document JSON field name equivalents of DynamicFeeTx (#24143)
1 parent b8edc04 commit 980b768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/types/dynamic_fee_tx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import (
2525
type DynamicFeeTx struct {
2626
ChainID *big.Int
2727
Nonce uint64
28-
GasTipCap *big.Int
29-
GasFeeCap *big.Int
28+
GasTipCap *big.Int // a.k.a. maxPriorityFeePerGas
29+
GasFeeCap *big.Int // a.k.a. maxFeePerGas
3030
Gas uint64
3131
To *common.Address `rlp:"nil"` // nil means contract creation
3232
Value *big.Int

0 commit comments

Comments
 (0)