Skip to content

Commit ef1d28d

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 166c09a commit ef1d28d

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
@@ -159,8 +159,6 @@ pub trait MiniscriptKey: Clone + Eq + Ord + fmt::Debug + fmt::Display + hash::Ha
159159
fn is_uncompressed(&self) -> bool { false }
160160

161161
/// Returns true if the key is an x-only pubkey, defaults to `false`.
162-
// This is required to know what in DescriptorPublicKey to know whether the inner
163-
// key in allowed in descriptor context
164162
fn is_x_only_key(&self) -> bool { false }
165163

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

0 commit comments

Comments
 (0)