mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
consensus/misc/eip4844: update comment
This commit is contained in:
parent
023d27f050
commit
2e4885315a
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ func fakeExponential(factor, numerator, denominator *big.Int) *big.Int {
|
||||||
return output.Div(output, denominator)
|
return output.Div(output, denominator)
|
||||||
}
|
}
|
||||||
|
|
||||||
// calcBlobPrice calculates the blob price based for a block.
|
// calcBlobPrice calculates the blob price for a block.
|
||||||
func calcBlobPrice(config *params.ChainConfig, header *types.Header) *big.Int {
|
func calcBlobPrice(config *params.ChainConfig, header *types.Header) *big.Int {
|
||||||
blobBaseFee := CalcBlobFee(config, header)
|
blobBaseFee := CalcBlobFee(config, header)
|
||||||
return new(big.Int).Mul(blobBaseFee, big.NewInt(params.BlobTxBlobGasPerBlob))
|
return new(big.Int).Mul(blobBaseFee, big.NewInt(params.BlobTxBlobGasPerBlob))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue