Skip to content

Commit f82d5f5

Browse files
committed
Revert "fix payload default check in fork choice"
This reverts commit 3295a59.
1 parent 3295a59 commit f82d5f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/fork_choice/src/fork_choice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ where
402402
|()| ExecutionStatus::irrelevant(),
403403
|message| {
404404
let execution_payload = &message.body.execution_payload;
405-
if execution_payload.is_default_with_zero_roots() {
405+
if execution_payload == &<_>::default() {
406406
// A default payload does not have execution enabled.
407407
ExecutionStatus::irrelevant()
408408
} else {

0 commit comments

Comments
 (0)