From d615b7c06d28d85c5c23acfc55ec45d74343c11a Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 18 Oct 2023 10:18:40 +1100 Subject: [PATCH] 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. --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b25ade284..5bbe1e8c5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -154,8 +154,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`.