Skip to content

Commit

Permalink
Light Client Bug Fix (sigp#6299)
Browse files Browse the repository at this point in the history
* Light Client Bug Fix
  • Loading branch information
ethDreamer authored and chong-he committed Nov 26, 2024
1 parent 41d1c9d commit 5041144
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 5041144

Please sign in to comment.