diff --git a/core/types/transaction_marshalling.go b/core/types/transaction_marshalling.go index 9167d3cab8..8663942b77 100644 --- a/core/types/transaction_marshalling.go +++ b/core/types/transaction_marshalling.go @@ -178,7 +178,7 @@ func (tx *Transaction) MarshalJSON() ([]byte, error) { enc.Nonce = (*hexutil.Uint64)(&itx.Nonce) enc.Gas = (*hexutil.Uint64)(&itx.GasLimit) 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.Input = (*hexutil.Bytes)(&itx.Data) v, r, s := itx.rawSignatureValues()