]> Untitled Git - bdk/commitdiff
NewError implements StdError (fix typo)
authorDaniela Brozzoni <danielabrozzoni@protonmail.com>
Fri, 3 Mar 2023 16:33:47 +0000 (17:33 +0100)
committerDaniela Brozzoni <danielabrozzoni@protonmail.com>
Fri, 3 Mar 2023 16:55:23 +0000 (17:55 +0100)
crates/bdk/src/wallet/mod.rs

index ca37de129a6d0507e276a69dfb2df8f3a7a33db0..340705a5f6bf497a6de725a5fabf5dc374391ebb 100644 (file)
@@ -182,8 +182,8 @@ where
     }
 }
 
-#[cfg(feautre = "std")]
-impl<P: core::fmt::Display> std::error::Error for NewError<P> {}
+#[cfg(feature = "std")]
+impl<P: core::fmt::Display + core::fmt::Debug> std::error::Error for NewError<P> {}
 
 impl<D> Wallet<D> {
     /// Create a wallet from a `descriptor` (and an optional `change_descriptor`) and load related