Skip to content

Commit

Permalink
fix : typo in (tx *DynamicFeeTx) gasPriceU256() (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsharma authored Oct 30, 2023
1 parent d8c59ac commit ab42a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/tx_dynamic_fee.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ab42a16

Please sign in to comment.