mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-20 06:49:27 +00:00
eth/catalyst: get params.ExcessBlobGas but check with params.BlobGasUsed (#30267)
Seems it is checked with the wrong argument Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
142c94d628
commit
10586952df
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ func (api *ConsensusAPI) newPayload(params engine.ExecutableData, versionedHashe
|
||||||
bgu = strconv.Itoa(int(*params.BlobGasUsed))
|
bgu = strconv.Itoa(int(*params.BlobGasUsed))
|
||||||
}
|
}
|
||||||
ebg := "nil"
|
ebg := "nil"
|
||||||
if params.BlobGasUsed != nil {
|
if params.ExcessBlobGas != nil {
|
||||||
ebg = strconv.Itoa(int(*params.ExcessBlobGas))
|
ebg = strconv.Itoa(int(*params.ExcessBlobGas))
|
||||||
}
|
}
|
||||||
log.Warn("Invalid NewPayload params",
|
log.Warn("Invalid NewPayload params",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue