We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d981a95 commit 288a6f1Copy full SHA for 288a6f1
examples/taproot.rs
@@ -40,7 +40,7 @@ fn main() {
40
.replace(&[' ', '\n', '\t'][..], "");
41
42
let _ms = Miniscript::<String, Tap>::from_str("and_v(v:ripemd160(H),pk(A))").unwrap();
43
- let pol: Concrete<String> = Concrete::from_str(&pol_str).unwrap();
+ let pol = Concrete::<String>::from_str(&pol_str).unwrap();
44
// In case we can't find an internal key for the given policy, we set the internal key to
45
// a random pubkey as specified by BIP341 (which are *unspendable* by any party :p)
46
let desc = pol.compile_tr(Some("UNSPENDABLE_KEY".to_string())).unwrap();
0 commit comments