Skip to content

Commit

Permalink
eth/catalyst: get params.ExcessBlobGas but check with params.BlobGasU…
Browse files Browse the repository at this point in the history
…sed (ethereum#30267)

Seems it is checked with the wrong argument

Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa authored Aug 5, 2024
1 parent 142c94d commit 1058695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/catalyst/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ func (api *ConsensusAPI) newPayload(params engine.ExecutableData, versionedHashe
bgu = strconv.Itoa(int(*params.BlobGasUsed))
}
ebg := "nil"
if params.BlobGasUsed != nil {
if params.ExcessBlobGas != nil {
ebg = strconv.Itoa(int(*params.ExcessBlobGas))
}
log.Warn("Invalid NewPayload params",
Expand Down

0 comments on commit 1058695

Please sign in to comment.