Skip to content

Commit 4e675cf

Browse files
authored
Light Client Bug Fix (#6299)
* Light Client Bug Fix
1 parent 84f0011 commit 4e675cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

consensus/types/src/light_client_header.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ impl<E: EthSpec> LightClientHeader<E> {
130130

131131
pub fn ssz_max_var_len_for_fork(fork_name: ForkName) -> usize {
132132
match fork_name {
133-
ForkName::Base | ForkName::Altair | ForkName::Bellatrix => 0,
134-
ForkName::Capella | ForkName::Deneb | ForkName::Electra => {
133+
ForkName::Base | ForkName::Altair => 0,
134+
ForkName::Bellatrix | ForkName::Capella | ForkName::Deneb | ForkName::Electra => {
135135
ExecutionPayloadHeader::<E>::ssz_max_var_len_for_fork(fork_name)
136136
}
137137
}

0 commit comments

Comments
 (0)