NewError implements StdError (fix typo)

This commit is contained in:
Daniela Brozzoni 2023-03-03 17:33:47 +01:00
parent 0c7a0abb19
commit d267517dbd
No known key found for this signature in database
GPG Key ID: 7DE4F1FDCED0AB87

View 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