mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user