mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
chore(pol): Set the gas tip cap to zero when marshalling pol tx (#84)
This commit is contained in:
parent
97a81753b8
commit
2446ddec2e
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ func (tx *Transaction) MarshalJSON() ([]byte, error) {
|
||||||
enc.Nonce = (*hexutil.Uint64)(&itx.Nonce)
|
enc.Nonce = (*hexutil.Uint64)(&itx.Nonce)
|
||||||
enc.Gas = (*hexutil.Uint64)(&itx.GasLimit)
|
enc.Gas = (*hexutil.Uint64)(&itx.GasLimit)
|
||||||
enc.MaxFeePerGas = (*hexutil.Big)(itx.GasPrice)
|
enc.MaxFeePerGas = (*hexutil.Big)(itx.GasPrice)
|
||||||
enc.MaxPriorityFeePerGas = (*hexutil.Big)(itx.GasPrice)
|
enc.MaxPriorityFeePerGas = (*hexutil.Big)(common.Big0)
|
||||||
enc.GasPrice = (*hexutil.Big)(itx.GasPrice)
|
enc.GasPrice = (*hexutil.Big)(itx.GasPrice)
|
||||||
enc.Input = (*hexutil.Bytes)(&itx.Data)
|
enc.Input = (*hexutil.Bytes)(&itx.Data)
|
||||||
v, r, s := itx.rawSignatureValues()
|
v, r, s := itx.rawSignatureValues()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue