Pass correct block root to validate_blobs_sidecar (#4557)

This commit is contained in:
henridf 2023-01-26 10:25:37 +01:00 committed by GitHub
parent 7966ab6be2
commit 03b468c537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ template validateBlobsSidecar(
# hash_tree_root(block), block.body.blob_kzg_commitments, sidecar)
let res = validate_blobs_sidecar(signed_beacon_block.beacon_block.message.slot,
hash_tree_root(signed_beacon_block.beacon_block),
signed_beacon_block.beacon_block.root,
signed_beacon_block.beacon_block.message
.body.blob_kzg_commitments.asSeq,
sidecar)