fix payload default check in fork choice
This commit is contained in:
parent
53a22c2fcb
commit
e56fefbd05
@ -402,7 +402,7 @@ where
|
|||||||
|()| ExecutionStatus::irrelevant(),
|
|()| ExecutionStatus::irrelevant(),
|
||||||
|message| {
|
|message| {
|
||||||
let execution_payload = &message.body.execution_payload;
|
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.
|
// A default payload does not have execution enabled.
|
||||||
ExecutionStatus::irrelevant()
|
ExecutionStatus::irrelevant()
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user