Skip to content

Commit

Permalink
Merge pull request #92 from pythcoiner/coldcard_taproot
Browse files Browse the repository at this point in the history
coldcard: get the tap_key_sig from the signed tx
  • Loading branch information
edouardparis authored Jul 16, 2024
2 parents ade7e91 + b55d1db commit f766562
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/coldcard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ impl HWI for Coldcard {
.append(&mut new_psbt.inputs[i].partial_sigs);
psbt.inputs[i]
.tap_script_sigs
.append(&mut new_psbt.inputs[i].tap_script_sigs)
.append(&mut new_psbt.inputs[i].tap_script_sigs);
if let Some(sig) = new_psbt.inputs[i].tap_key_sig {
psbt.inputs[i].tap_key_sig = Some(sig);
}
}

Ok(())
Expand Down

0 comments on commit f766562

Please sign in to comment.