Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiloc committed Nov 23, 2024
1 parent 5842a54 commit 487c760
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions signer/tests/integration/bitcoin_validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,11 +527,11 @@ async fn cannot_sign_deposit_is_ok() {

let tx = &txs[0];
let sighashes = tx.construct_digests().unwrap();
assert_eq!(sighashes.signers, signer.sighash);
assert_eq!(sighashes.signers, *signer.sighash);

assert_eq!(sighashes.deposits.len(), 2);
assert_eq!(sighashes.deposits[0].1, deposit1.sighash);
assert_eq!(sighashes.deposits[1].1, deposit2.sighash);
assert_eq!(sighashes.deposits[0].1, *deposit1.sighash);
assert_eq!(sighashes.deposits[1].1, *deposit2.sighash);
}

#[cfg_attr(not(feature = "integration-tests"), ignore)]
Expand Down Expand Up @@ -650,11 +650,11 @@ async fn sighashes_match_from_sbtc_requests_object() {

let tx = &txs[0];
let sighashes = tx.construct_digests().unwrap();
assert_eq!(sighashes.signers, signer.sighash);
assert_eq!(sighashes.signers, *signer.sighash);

assert_eq!(sighashes.deposits.len(), 2);
assert_eq!(sighashes.deposits[0].1, deposit1.sighash);
assert_eq!(sighashes.deposits[1].1, deposit2.sighash);
assert_eq!(sighashes.deposits[0].1, *deposit1.sighash);
assert_eq!(sighashes.deposits[1].1, *deposit2.sighash);
}

#[cfg_attr(not(feature = "integration-tests"), ignore)]
Expand Down

0 comments on commit 487c760

Please sign in to comment.