Update beacon_node to work w/ BeaconStateTypes

This commit is contained in:
Paul Hauner
2019-05-09 09:40:32 +10:00
parent 42b7aa89d4
commit 4c0c93f0c9
5 changed files with 34 additions and 11 deletions

View File

@@ -29,7 +29,6 @@ impl<T, N: Unsigned> FixedLenVec<T, N> {
impl<T: Default, N: Unsigned> From<Vec<T>> for FixedLenVec<T, N> {
fn from(mut vec: Vec<T>) -> Self {
dbg!(Self::capacity());
vec.resize_with(Self::capacity(), Default::default);
Self {