-
-
Save sanket1729/e600a774a2634ffebe047654caa83dd2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[test] | |
fn htlc() { | |
Descriptor::<bitcoin::PublicKey>::from_str( | |
"wsh(c:or_i(and_v(v:sha256(0000000000000000000000000000000000000000000000000000000000000000),pk_h(1111111111111111111111111111111111111111)),and_v(v:after(3333333),pk_h(2222222222222222222222222222222222222222))))").expect("htlc should be valid descriptor"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment