We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e47d31 commit 5714f09Copy full SHA for 5714f09
src/descriptor/mod.rs
@@ -23,8 +23,8 @@
23
//! these with BIP32 paths, pay-to-contract instructions, etc.
24
//!
25
26
-use std::fmt;
27
use std::str::{self, FromStr};
+use std::{error, fmt};
28
29
use bitcoin::blockdata::{opcodes, script};
30
use bitcoin::hashes::hash160;
@@ -104,6 +104,16 @@ impl fmt::Display for DescriptorKeyParseError {
104
}
105
106
107
+impl error::Error for DescriptorKeyParseError {
108
+ fn description(&self) -> &str {
109
+ ""
110
+ }
111
+
112
+ fn cause(&self) -> Option<&error::Error> {
113
+ None
114
115
+}
116
117
impl fmt::Display for DescriptorPublicKey {
118
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
119
match *self {
0 commit comments