[descriptor] Perform additional checks before using a descriptor
Fixes #287
This commit is contained in:
committed by
Steve Myers
parent
6092c6e789
commit
7843732e17
@@ -31,6 +31,8 @@ pub enum Error {
|
||||
InvalidHDKeyPath,
|
||||
/// The provided descriptor doesn't match its checksum
|
||||
InvalidDescriptorChecksum,
|
||||
/// The descriptor contains hardened derivation steps on public extended keys
|
||||
HardenedDerivationXpub,
|
||||
|
||||
/// Error thrown while working with [`keys`](crate::keys)
|
||||
Key(crate::keys::KeyError),
|
||||
|
||||
Reference in New Issue
Block a user