From 743347cf047c854b18f0cea1ea872077ac6b92d6 Mon Sep 17 00:00:00 2001 From: realbigsean Date: Wed, 23 Nov 2022 11:18:47 -0500 Subject: [PATCH] Revert "fix payload default check in fork choice" This reverts commit e56fefbd05811526af4499711045275db366aa09. --- consensus/fork_choice/src/fork_choice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/fork_choice/src/fork_choice.rs b/consensus/fork_choice/src/fork_choice.rs index 88a749b0a0..5f4c9931f0 100644 --- a/consensus/fork_choice/src/fork_choice.rs +++ b/consensus/fork_choice/src/fork_choice.rs @@ -402,7 +402,7 @@ where |()| ExecutionStatus::irrelevant(), |message| { let execution_payload = &message.body.execution_payload; - if execution_payload.is_default_with_zero_roots() { + if execution_payload == &<_>::default() { // A default payload does not have execution enabled. ExecutionStatus::irrelevant() } else {