From ab42a16a1b091b332afcc507f2706bd78936dcf9 Mon Sep 17 00:00:00 2001 From: SHIVAM SHARMA Date: Mon, 30 Oct 2023 13:23:34 +0530 Subject: [PATCH] fix : typo in (tx *DynamicFeeTx) gasPriceU256() (#1064) --- core/types/tx_dynamic_fee.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/types/tx_dynamic_fee.go b/core/types/tx_dynamic_fee.go index 914d4304b0..48eb9391a9 100644 --- a/core/types/tx_dynamic_fee.go +++ b/core/types/tx_dynamic_fee.go @@ -134,7 +134,7 @@ func (tx *DynamicFeeTx) gasTipCapU256() *uint256.Int { func (tx *DynamicFeeTx) gasPrice() *big.Int { return tx.GasFeeCap } func (tx *DynamicFeeTx) gasPriceU256() *uint256.Int { if tx.gasFeeCapUint256 != nil { - return tx.gasTipCapUint256 + return tx.gasFeeCapUint256 } tx.gasFeeCapUint256, _ = uint256.FromBig(tx.GasFeeCap)