Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
ozankaymak committed Aug 27, 2024
1 parent 6a79384 commit 21458c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/transaction_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ impl TransactionBuilder {
Some(*nofn_xonly_pk),
network,
);

// Sanity check
assert!(slash_or_take_address.script_pubkey() == slash_or_take_utxo.txout.script_pubkey);

Expand Down
3 changes: 1 addition & 2 deletions core/tests/flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ async fn test_deposit() -> Result<(), BridgeError> {
let mut pub_nonces = Vec::new();

for (client, _, _) in verifiers.iter() {
for (i, (client, ..)) in verifiers.iter().enumerate() {
let musig_pub_nonces = client
.verifier_new_deposit_rpc(deposit_outpoint, signer_address.clone(), evm_address)
.await
Expand Down Expand Up @@ -160,7 +159,7 @@ async fn test_deposit() -> Result<(), BridgeError> {

slash_or_take_sigs.push(secp256k1::schnorr::Signature::from_slice(&agg_sig)?);
}

// tracing::debug!("Slash or take sigs: {:#?}", slash_or_take_sigs);
// call burn_txs_signed_rpc
let mut operator_take_partial_sigs: Vec<Vec<[u8; 32]>> = Vec::new();
Expand Down

0 comments on commit 21458c6

Please sign in to comment.