Skip to content

Commit

Permalink
Remove code comment on is_x_only_key
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tcharding committed Mar 28, 2024
1 parent 166c09a commit ef1d28d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ pub trait MiniscriptKey: Clone + Eq + Ord + fmt::Debug + fmt::Display + hash::Ha
fn is_uncompressed(&self) -> bool { false }

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

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

0 comments on commit ef1d28d

Please sign in to comment.