From 593fbee5cb2f1f97c81bf859a5c1525295783d64 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Fri, 2 May 2025 19:15:54 +0800 Subject: [PATCH] make the change slightly more aesthetic --- consensus/misc/eip4844/eip4844.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/misc/eip4844/eip4844.go b/consensus/misc/eip4844/eip4844.go index d453ecf085..10bc48d9c8 100644 --- a/consensus/misc/eip4844/eip4844.go +++ b/consensus/misc/eip4844/eip4844.go @@ -76,7 +76,7 @@ func CalcExcessBlobGas(config *params.ChainConfig, parent *types.Header, headTim if excessBlobGas < targetGas { return 0 } - if config.IsOsaka(new(big.Int).Add(big.NewInt(1), parent.Number), headTimestamp) { + if config.IsOsaka(new(big.Int).Add(parent.Number, big.NewInt(1)), headTimestamp) { return excessBlobGas / 3 } return excessBlobGas - targetGas