fix payload default check in fork choice

This commit is contained in:
realbigsean 2022-11-23 09:42:55 -05:00
parent 53a22c2fcb
commit e56fefbd05
No known key found for this signature in database
GPG Key ID: B372B64D866BF8CC

View File

@ -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 {