Skip to content

Commit 0c64a70

Browse files
committed
Add more auto-derives to conversion error
1 parent 30fa409 commit 0c64a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/descriptor/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ impl FromStr for DescriptorPublicKey {
350350
}
351351

352352
/// Descriptor key conversion error
353-
#[derive(Debug, PartialEq, Clone, Copy)]
353+
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
354354
pub enum ConversionError {
355355
/// Attempted to convert a key with a wildcard to a bitcoin public key
356356
Wildcard,

0 commit comments

Comments
 (0)