Skip to content

Commit

Permalink
Updated into usage on Refund file test
Browse files Browse the repository at this point in the history
  • Loading branch information
i5hi committed Feb 13, 2024
1 parent 2408c77 commit dd96beb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/bitcoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn test_bitcoin_ssi() {

let recovery =
BtcSubmarineRecovery::new(&_id, &keypair, &response.get_redeem_script().unwrap());
let refund_file: RefundSwapFile = recovery.clone().into();
let refund_file: RefundSwapFile = recovery.clone().try_into().unwrap();
let cargo_manifest_dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
let refund_path = PathBuf::from(cargo_manifest_dir);
println!("path: {:?}", refund_path);
Expand Down
2 changes: 1 addition & 1 deletion tests/liquid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn test_liquid_ssi() {
&blinding_key,
&response.get_redeem_script().unwrap(),
);
let refund_file: RefundSwapFile = recovery.clone().into();
let refund_file: RefundSwapFile = recovery.clone().try_into().unwrap();
let cargo_manifest_dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
let refund_path = PathBuf::from(cargo_manifest_dir);
println!("path: {:?}", refund_path);
Expand Down

0 comments on commit dd96beb

Please sign in to comment.