Skip to content

Commit 9cbc3cb

Browse files
committed
fix: state field
1 parent b12e3a8 commit 9cbc3cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/gossip_processing/gossip_validation.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ template validateBeaconBlockGloas(
429429
# `bid.parent_block_hash`) passes all validation.
430430
withState(dag.headState):
431431
when consensusFork >= ConsensusFork.Gloas:
432-
if bid.parent_block_hash != dag.headState.latest_block_hash:
432+
if bid.parent_block_hash != forkyState.latest_block_hash:
433433
return dag.checkedReject("validateBeaconBlockGloas: invalid execution payload parent")
434434

435435
# [REJECT] The bid's parent (defined by `bid.parent_block_root`) equals the

0 commit comments

Comments
 (0)