[cli] Add a few commands to handle psbts

This commit is contained in:
Alekos Filini
2020-05-17 18:01:52 +02:00
parent fb4abfb99c
commit 4f865ab2c0
3 changed files with 190 additions and 73 deletions

View File

@@ -194,11 +194,11 @@ impl ExtendedDescriptor {
_ => return Err(Error::CantDeriveWithMiniscript),
};
if !self.same_structure(&derived_desc) {
Err(Error::CantDeriveWithMiniscript)
} else {
Ok(derived_desc)
}
// if !self.same_structure(&derived_desc) {
// Err(Error::CantDeriveWithMiniscript)
// } else {
Ok(derived_desc)
// }
}
pub fn derive_from_psbt_input(