mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Revert "fix payload default check in fork choice"
This reverts commit e56fefbd05.
This commit is contained in:
@@ -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.is_default_with_zero_roots() {
|
if execution_payload == &<_>::default() {
|
||||||
// A default payload does not have execution enabled.
|
// A default payload does not have execution enabled.
|
||||||
ExecutionStatus::irrelevant()
|
ExecutionStatus::irrelevant()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user