From e56fefbd05811526af4499711045275db366aa09 Mon Sep 17 00:00:00 2001 From: realbigsean Date: Wed, 23 Nov 2022 09:42:55 -0500 Subject: [PATCH] fix payload default check in fork choice --- 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 5f4c9931f0..88a749b0a0 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 == &<_>::default() { + if execution_payload.is_default_with_zero_roots() { // A default payload does not have execution enabled. ExecutionStatus::irrelevant() } else {