We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8cc633 commit 7eba66bCopy full SHA for 7eba66b
src/descriptor/key.rs
@@ -705,7 +705,7 @@ impl MiniscriptKey for DescriptorPublicKey {
705
fn is_x_only_key(&self) -> bool {
706
match self {
707
DescriptorPublicKey::SinglePub(DescriptorSinglePub {
708
- key: SinglePubKey::FullKey(ref key),
+ key: SinglePubKey::XOnly(ref key),
709
..
710
}) => key.is_x_only_key(),
711
_ => false,
0 commit comments