Skip to content

Commit c7306f0

Browse files
committed
fix: state field
1 parent 500375f commit c7306f0

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
@@ -463,7 +463,7 @@ template validateBeaconBlockGloas(
463463
# `bid.parent_block_hash`) passes all validation.
464464
withState(dag.headState):
465465
when consensusFork >= ConsensusFork.Gloas:
466-
if bid.parent_block_hash != dag.headState.latest_block_hash:
466+
if bid.parent_block_hash != forkyState.latest_block_hash:
467467
return dag.checkedReject("validateBeaconBlockGloas: invalid execution payload parent")
468468

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

0 commit comments

Comments
 (0)