You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/htlc.rs
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ use miniscript::DescriptorTrait;
24
24
use std::str::FromStr;
25
25
26
26
fnmain(){
27
-
//HTLC policy with 10:1 odds for happy(co-operative) case compared to uncooperative case
27
+
//HTLC policy with 10:1 odds for happy(co-operative) case compared to uncooperative case.
28
28
let htlc_policy = Concrete::<bitcoin::PublicKey>::from_str(&format!("or(10@and(sha256({secret_hash}),pk({redeem_identity})),1@and(older({expiry}),pk({refund_identity})))",
0 commit comments