mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-25 13:07:18 +00:00
Remove commented-out code
This commit is contained in:
parent
77ac49a553
commit
4b753015d8
@ -1,7 +1,4 @@
|
|||||||
use super::*;
|
use super::*;
|
||||||
// use cached_tree_hash::CachedTreeHash;
|
|
||||||
// use ssz::{Decode, Encode};
|
|
||||||
// use tree_hash::TreeHash;
|
|
||||||
|
|
||||||
impl<T, N: Unsigned> tree_hash::TreeHash for FixedLenVec<T, N>
|
impl<T, N: Unsigned> tree_hash::TreeHash for FixedLenVec<T, N>
|
||||||
where
|
where
|
||||||
|
@ -41,12 +41,6 @@ fn get_serializable_field_types<'a>(struct_data: &'a syn::DataStruct) -> Vec<&'a
|
|||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
Some(&f.ty)
|
Some(&f.ty)
|
||||||
/*
|
|
||||||
Some(match &f.ident {
|
|
||||||
Some(ref ident) => ident,
|
|
||||||
_ => panic!("ssz_derive only supports named struct fields."),
|
|
||||||
})
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.collect()
|
.collect()
|
||||||
|
Loading…
Reference in New Issue
Block a user