Skip to content

Commit 6fd596d

Browse files
jsvisajakub-freebit
authored andcommitted
eth/catalyst: get params.ExcessBlobGas but check with params.BlobGasUsed (ethereum#30267)
Seems it is checked with the wrong argument Signed-off-by: jsvisa <[email protected]>
1 parent 4916878 commit 6fd596d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/catalyst/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ func (api *ConsensusAPI) newPayload(params engine.ExecutableData, versionedHashe
546546
bgu = strconv.Itoa(int(*params.BlobGasUsed))
547547
}
548548
ebg := "nil"
549-
if params.BlobGasUsed != nil {
549+
if params.ExcessBlobGas != nil {
550550
ebg = strconv.Itoa(int(*params.ExcessBlobGas))
551551
}
552552
log.Warn("Invalid NewPayload params",

0 commit comments

Comments
 (0)