len is fixed

This commit is contained in:
Peter Zhang 2025-09-08 18:58:50 +08:00
parent da3c16a533
commit 67dbb75635

View File

@ -117,7 +117,7 @@ impl AsMut<[u8]> for OptionalHash {
impl Encode for OptionalHash {
fn is_ssz_fixed_len() -> bool {
false
true
}
fn ssz_fixed_len() -> usize {
@ -144,7 +144,7 @@ impl Encode for OptionalHash {
impl Decode for OptionalHash {
fn is_ssz_fixed_len() -> bool {
false
true
}
fn ssz_fixed_len() -> usize {