mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
fix : typo in (tx *DynamicFeeTx) gasPriceU256() (#1064)
This commit is contained in:
parent
d8c59ac8f2
commit
ab42a16a1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue