Skip to content

Commit

Permalink
Merge pull request #84 from pythcoiner/specter_taproot
Browse files Browse the repository at this point in the history
copy the taproot internal key signature
  • Loading branch information
edouardparis authored Jun 4, 2024
2 parents ea770ff + eec01da commit 6709129
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/specter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ impl<T: Transport + Sync + Send> HWI for Specter<T> {
.tap_script_sigs
.append(&mut new_psbt.inputs[i].tap_script_sigs)
}
if new_psbt.inputs[i].tap_key_sig.is_some() {
has_signed = true;
psbt.inputs[i].tap_key_sig = new_psbt.inputs[i].tap_key_sig;
}
}

if !has_signed {
Expand Down

0 comments on commit 6709129

Please sign in to comment.