diff --git a/attest-data/src/lib.rs b/attest-data/src/lib.rs index d80e730..d2c9ed6 100644 --- a/attest-data/src/lib.rs +++ b/attest-data/src/lib.rs @@ -71,7 +71,7 @@ impl TryFrom> for Array { /// Attempt to create an Array from the Vec provided. fn try_from(item: Vec) -> Result { - item.try_into() + item[..].try_into() } }