diff --git a/eth2/utils/fixed_len_vec/src/impls.rs b/eth2/utils/fixed_len_vec/src/impls.rs index c9d01b9b2..e1c54c1f7 100644 --- a/eth2/utils/fixed_len_vec/src/impls.rs +++ b/eth2/utils/fixed_len_vec/src/impls.rs @@ -1,7 +1,4 @@ use super::*; -// use cached_tree_hash::CachedTreeHash; -// use ssz::{Decode, Encode}; -// use tree_hash::TreeHash; impl tree_hash::TreeHash for FixedLenVec where diff --git a/eth2/utils/ssz_derive/src/lib.rs b/eth2/utils/ssz_derive/src/lib.rs index 25cce2c3c..ef6e2440f 100644 --- a/eth2/utils/ssz_derive/src/lib.rs +++ b/eth2/utils/ssz_derive/src/lib.rs @@ -41,12 +41,6 @@ fn get_serializable_field_types<'a>(struct_data: &'a syn::DataStruct) -> Vec<&'a None } else { Some(&f.ty) - /* - Some(match &f.ident { - Some(ref ident) => ident, - _ => panic!("ssz_derive only supports named struct fields."), - }) - */ } }) .collect()