descriptors: remove TODO in assertions, explain instead
This commit is contained in:
parent
62067f0030
commit
628ed3d0ed
@ -338,12 +338,12 @@ impl MultipathDescriptor {
|
||||
}
|
||||
|
||||
let owner_pk = Miniscript::from_ast(Terminal::Check(sync::Arc::from(
|
||||
Miniscript::from_ast(Terminal::PkK(owner_key)).expect("TODO"),
|
||||
Miniscript::from_ast(Terminal::PkK(owner_key)).expect("pk_k is a valid Miniscript"),
|
||||
)))
|
||||
.expect("Well typed");
|
||||
|
||||
let heir_pkh = Miniscript::from_ast(Terminal::Check(sync::Arc::from(
|
||||
Miniscript::from_ast(Terminal::PkH(heir_key)).expect("TODO"),
|
||||
Miniscript::from_ast(Terminal::PkH(heir_key)).expect("pk_h is a valid Miniscript"),
|
||||
)))
|
||||
.expect("Well typed");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user