Bugfix: Invalid execution header HTR leads to invalid state root (#4889)
This commit is contained in:
parent
4a1b94bc2e
commit
1e7eec18ce
|
@ -658,7 +658,7 @@ proc getBlindedBlockParts[EPH: ForkyExecutionPayloadHeader](
|
|||
transactions_root =
|
||||
Opt.some executionPayloadHeader.get.blindedBlckPart.transactions_root,
|
||||
execution_payload_root =
|
||||
Opt.some hash_tree_root(executionPayloadHeader.get),
|
||||
Opt.some hash_tree_root(executionPayloadHeader.get.blindedBlckPart),
|
||||
withdrawals_root = withdrawals_root)
|
||||
|
||||
if newBlock.isErr():
|
||||
|
|
Loading…
Reference in New Issue