From a3b794887bb5f01dc4dc535d937584cab59796a6 Mon Sep 17 00:00:00 2001 From: jp1ac4 <121959000+jp1ac4@users.noreply.github.com> Date: Tue, 21 May 2024 11:34:42 +0100 Subject: [PATCH] Add type to fix nightly build --- coldcard/src/protocol/derivation_path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);