mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
beacon/engine: fix cell proof logic
This commit is contained in:
parent
193973d890
commit
d2c1ba024c
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ func BlockToExecutableData(block *types.Block, fees *big.Int, sidecars []*types.
|
|||
for j := range sidecar.Blobs {
|
||||
bundle.Blobs = append(bundle.Blobs, hexutil.Bytes(sidecar.Blobs[j][:]))
|
||||
bundle.Commitments = append(bundle.Commitments, hexutil.Bytes(sidecar.Commitments[j][:]))
|
||||
if len(sidecar.Proofs[j]) != 0 {
|
||||
if len(sidecar.CellProofs[j]) == 0 {
|
||||
bundle.Proofs = append(bundle.Proofs, hexutil.Bytes(sidecar.Proofs[j][:]))
|
||||
} else {
|
||||
for _, proof := range sidecar.CellProofs[j] {
|
||||
|
|
|
|||
Loading…
Reference in a new issue