Skip to content

Commit

Permalink
Fix missing !
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jun 28, 2022
1 parent 1bcf234 commit 7b7b356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/beacon_chain/src/execution_payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ where
.as_ref()
.ok_or(BlockProductionError::ExecutionLayerMissing)?;

let parent_hash = if is_merge_transition_complete {
let parent_hash = if !is_merge_transition_complete {
let is_terminal_block_hash_set = spec.terminal_block_hash != ExecutionBlockHash::zero();
let is_activation_epoch_reached =
current_epoch >= spec.terminal_block_hash_activation_epoch;
Expand Down

0 comments on commit 7b7b356

Please sign in to comment.