mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
Update beacon_node to work w/ BeaconStateTypes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user