mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
make the change slightly more aesthetic
This commit is contained in:
parent
778d5ceea5
commit
593fbee5cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue