descriptors: allow to get underlying public key
This commit is contained in:
parent
5ee71d9df1
commit
e267f66be6
@ -613,6 +613,13 @@ impl SinglePathLianaDesc {
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
/// Reference to the underlying `Descriptor<descriptor::DescriptorPublicKey>`
|
||||
pub fn as_descriptor_public_key(
|
||||
&self,
|
||||
) -> &descriptor::Descriptor<descriptor::DescriptorPublicKey> {
|
||||
&self.0
|
||||
}
|
||||
}
|
||||
|
||||
pub enum DescKeysOrigins {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user