From 504114401c383d6d53d0cdc5cca4042ef1b1ec9e Mon Sep 17 00:00:00 2001 From: ethDreamer <37123614+ethDreamer@users.noreply.github.com> Date: Tue, 3 Sep 2024 08:47:49 -0500 Subject: [PATCH] Light Client Bug Fix (#6299) * Light Client Bug Fix --- consensus/types/src/light_client_header.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/types/src/light_client_header.rs b/consensus/types/src/light_client_header.rs index a1d5f85eac0..c0de114b357 100644 --- a/consensus/types/src/light_client_header.rs +++ b/consensus/types/src/light_client_header.rs @@ -130,8 +130,8 @@ impl LightClientHeader { pub fn ssz_max_var_len_for_fork(fork_name: ForkName) -> usize { match fork_name { - ForkName::Base | ForkName::Altair | ForkName::Bellatrix => 0, - ForkName::Capella | ForkName::Deneb | ForkName::Electra => { + ForkName::Base | ForkName::Altair => 0, + ForkName::Bellatrix | ForkName::Capella | ForkName::Deneb | ForkName::Electra => { ExecutionPayloadHeader::::ssz_max_var_len_for_fork(fork_name) } }