File tree 1 file changed +0
-22
lines changed 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -316,35 +316,13 @@ pub trait ExtractPolicy {
316
316
}
317
317
318
318
pub ( crate ) trait XKeyUtils {
319
- fn full_path ( & self , append : & [ ChildNumber ] ) -> DerivationPath ;
320
319
fn root_fingerprint ( & self , secp : & SecpCtx ) -> Fingerprint ;
321
320
}
322
321
323
322
impl < T > XKeyUtils for DescriptorXKey < T >
324
323
where
325
324
T : InnerXKey ,
326
325
{
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
-
348
326
fn root_fingerprint ( & self , secp : & SecpCtx ) -> Fingerprint {
349
327
match self . origin {
350
328
Some ( ( fingerprint, _) ) => fingerprint,
You can’t perform that action at this time.
0 commit comments