diff --git a/coldcard/src/protocol/derivation_path.rs b/coldcard/src/protocol/derivation_path.rs index b5eb5ad..3ea9688 100644 --- a/coldcard/src/protocol/derivation_path.rs +++ b/coldcard/src/protocol/derivation_path.rs @@ -13,7 +13,7 @@ impl DerivationPath { _ => return Err(Error::InvalidFormat), } - let children = segments.map(|c| c.parse()).collect::, _>>()?; + let children: Box<[Child]> = segments.map(|c| c.parse()).collect::>()?; if children.len() > 12 { return Err(Error::TooDeep);