Skip to content

Commit

Permalink
fixup: fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanschneider committed Feb 26, 2025
1 parent 38bb18a commit 84e6de8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beacon_node/execution_layer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,8 @@ impl<E: EthSpec> ExecutionLayer<E> {
let is_total_difficulty_reached =
block.terminal_total_difficulty_reached(spec.terminal_total_difficulty);
let is_parent_total_difficulty_valid = parent
.total_difficulty.is_some_and(|td| td < spec.terminal_total_difficulty);
.total_difficulty
.is_some_and(|td| td < spec.terminal_total_difficulty);
is_total_difficulty_reached && is_parent_total_difficulty_valid
}

Expand Down

0 comments on commit 84e6de8

Please sign in to comment.