File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -316,35 +316,13 @@ pub trait ExtractPolicy {
316316}
317317
318318pub ( crate ) trait XKeyUtils {
319- fn full_path ( & self , append : & [ ChildNumber ] ) -> DerivationPath ;
320319 fn root_fingerprint ( & self , secp : & SecpCtx ) -> Fingerprint ;
321320}
322321
323322impl < T > XKeyUtils for DescriptorXKey < T >
324323where
325324 T : InnerXKey ,
326325{
327- fn full_path ( & self , append : & [ ChildNumber ] ) -> DerivationPath {
328- let full_path = match self . origin {
329- Some ( ( _, ref path) ) => path
330- . into_iter ( )
331- . chain ( self . derivation_path . into_iter ( ) )
332- . cloned ( )
333- . collect ( ) ,
334- None => self . derivation_path . clone ( ) ,
335- } ;
336-
337- if self . wildcard != Wildcard :: None {
338- full_path
339- . into_iter ( )
340- . chain ( append. iter ( ) )
341- . cloned ( )
342- . collect ( )
343- } else {
344- full_path
345- }
346- }
347-
348326 fn root_fingerprint ( & self , secp : & SecpCtx ) -> Fingerprint {
349327 match self . origin {
350328 Some ( ( fingerprint, _) ) => fingerprint,
You can’t perform that action at this time.
0 commit comments