mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
eth/gasprice: rm unused function
This commit is contained in:
parent
d107899598
commit
429ed384dd
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
// resolveBlockRange resolves the specified block range to absolute block numbers while also
|
||||||
// enforcing backend specific limitations. The pending block and corresponding receipts are
|
// enforcing backend specific limitations. The pending block and corresponding receipts are
|
||||||
// also returned if requested and available.
|
// also returned if requested and available.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue