We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 525c652 commit 5180169Copy full SHA for 5180169
2 files changed
pset_swap_tutorial.hex
src/pset/mod.rs
@@ -795,4 +795,11 @@ mod tests {
795
// pset.add_output(Output::from_txout(txout));
796
// println!("{}", encode::serialize_hex(&pset));
797
}
798
+
799
+ #[test]
800
+ fn pset_from_elements() {
801
+ let pset_str = include_str!("../../pset_swap_tutorial.hex");
802
+ let bytes = Vec::<u8>::from_hex(pset_str).unwrap();
803
+ let _pset = encode::deserialize::<PartiallySignedTransaction>(&bytes).unwrap();
804
+ }
805
0 commit comments