From 429ed384dd5b724faf6d2ed62f7644f72fb0fb03 Mon Sep 17 00:00:00 2001 From: lightclient Date: Mon, 11 Mar 2024 10:15:27 -0600 Subject: [PATCH] eth/gasprice: rm unused function --- eth/gasprice/feehistory.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/eth/gasprice/feehistory.go b/eth/gasprice/feehistory.go index ab9badf176..f807cfdc4d 100644 --- a/eth/gasprice/feehistory.go +++ b/eth/gasprice/feehistory.go @@ -149,15 +149,6 @@ func (oracle *Oracle) processBlock(bf *blockFees, percentiles []float64) { } } -// getBlobBaseFee is a helper function which computes and returns the blob base -// fee if excessBlobGas exists. -func getBlobBaseFee(h *types.Header) *big.Int { - if excessBlobGas := h.ExcessBlobGas; excessBlobGas != nil { - return eip4844.CalcBlobFee(*excessBlobGas) - } - return new(big.Int) -} - // resolveBlockRange resolves the specified block range to absolute block numbers while also // enforcing backend specific limitations. The pending block and corresponding receipts are // also returned if requested and available.