Skip to content

Commit d615b7c

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 d2d3ee9 commit d615b7c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib.rs

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

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

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

0 commit comments

Comments
 (0)