Skip to content

Commit 2087b94

Browse files
committed
Remove code comment on is_x_only_key
The `is_x_only_key` trait method is used for more than one thing, the code comment is either stale, not exhaustive, or wrong. Let's just remove it.
1 parent 3d935aa commit 2087b94

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ pub trait MiniscriptKey: Clone + Eq + Ord + fmt::Debug + fmt::Display + hash::Ha
153153
fn is_uncompressed(&self) -> bool { false }
154154

155155
/// Returns true if the key is an x-only pubkey, defaults to `false`.
156-
// This is required to know what in DescriptorPublicKey to know whether the inner
157-
// key in allowed in descriptor context
158156
fn is_x_only_key(&self) -> bool { false }
159157

160158
/// Returns the number of different derivation paths in this key, defaults to `0`.

0 commit comments

Comments
 (0)