From 25848c15e67512cb666b4e9daf22388cbd11391c Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Tue, 23 Jul 2024 18:53:05 +0200 Subject: [PATCH] descriptor: fix encofced keychains value for Tapret --- src/descriptor.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/descriptor.rs b/src/descriptor.rs index 7e4147a..b695f60 100644 --- a/src/descriptor.rs +++ b/src/descriptor.rs @@ -153,14 +153,7 @@ impl Derive for TapretKey { #[inline] fn default_keychain(&self) -> Keychain { RgbKeychain::Rgb.into() } - fn keychains(&self) -> BTreeSet { - bset![ - RgbKeychain::External.into(), - RgbKeychain::Internal.into(), - RgbKeychain::Rgb.into(), - RgbKeychain::Tapret.into(), - ] - } + fn keychains(&self) -> BTreeSet { self.tr.keychains() } fn derive( &self,