Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar committed Sep 11, 2024
1 parent a982837 commit c054090
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crates/rooch/src/commands/bitcoin/sign_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,8 @@ pub(crate) async fn sign_psbt(
debug!("Collected signatures: {:?}", ordered_signatures);

let mut witness = Witness::new();
//let mut valid_sig_count:u64 = 0;
for sig in ordered_signatures {
// if !sig.is_empty() {
// valid_sig_count += 1;
// }
witness.push(sig);
// if valid_sig_count >= account_info.threshold {
// break;
// }
}

witness.push(multisig_script.as_bytes());
Expand Down

0 comments on commit c054090

Please sign in to comment.