Skip to content

Commit

Permalink
Light Client Bug Fix (#6299)
Browse files Browse the repository at this point in the history
* Light Client Bug Fix
  • Loading branch information
ethDreamer authored Sep 3, 2024
1 parent 84f0011 commit 4e675cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/types/src/light_client_header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ impl<E: EthSpec> LightClientHeader<E> {

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::<E>::ssz_max_var_len_for_fork(fork_name)
}
}
Expand Down

0 comments on commit 4e675cf

Please sign in to comment.