diff --git a/core/state_transition.go b/core/state_transition.go index 17dd6d6f70..86befa6be1 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -158,9 +158,9 @@ func TransactionToMessage(tx *types.Transaction, s types.Signer, balanceFee, blo msg := &Message{ Nonce: tx.Nonce(), GasLimit: tx.Gas(), - GasPrice: new(big.Int).Set(tx.GasPrice()), - GasFeeCap: new(big.Int).Set(tx.GasFeeCap()), - GasTipCap: new(big.Int).Set(tx.GasTipCap()), + GasPrice: tx.GasPrice(), + GasFeeCap: tx.GasFeeCap(), + GasTipCap: tx.GasTipCap(), To: tx.To(), Value: tx.Value(), Data: tx.Data(),