From 67dbb75635155ed662e7128d5940bcd5327471a2 Mon Sep 17 00:00:00 2001 From: Peter Zhang Date: Mon, 8 Sep 2025 18:58:50 +0800 Subject: [PATCH] len is fixed --- common/append_merkle/src/merkle_tree.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/append_merkle/src/merkle_tree.rs b/common/append_merkle/src/merkle_tree.rs index cc8aabd..d9a51b0 100644 --- a/common/append_merkle/src/merkle_tree.rs +++ b/common/append_merkle/src/merkle_tree.rs @@ -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 {