Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
yerke26 committed Jan 24, 2025
1 parent a25830c commit 220c625
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ double CalculateBlobGasUsedRatio(Block b, out UInt256 feePerBlobGas)
IReleaseSpec spec = _specProvider.GetSpec(b.Header);
BlobGasCalculator.TryCalculateFeePerBlobGas(b.Header, spec.BlobBaseFeeUpdateFraction, out feePerBlobGas);

var maxBlobGasPerBlob = _specProvider.GetSpec(b.Header).GetMaxBlobGasPerBlock();
var maxBlobGasPerBlob = spec.GetMaxBlobGasPerBlock();
return maxBlobGasPerBlob == 0 ? 0 : (b.BlobGasUsed ?? 0) / (double)maxBlobGasPerBlob;
}

Expand Down

0 comments on commit 220c625

Please sign in to comment.