Skip to content

Commit

Permalink
Merge pull request #2104 from baryon/master
Browse files Browse the repository at this point in the history
sign tapLeaf with sighashType
  • Loading branch information
junderw committed Jun 9, 2024
2 parents eb12504 + 26f3eda commit 55d7cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/psbt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ function getTaprootHashesForSig(
inputIndex,
signingScripts,
values,
transaction_1.Transaction.SIGHASH_DEFAULT,
sighashType,
tapLeaf.hash,
);
return {
Expand Down
2 changes: 1 addition & 1 deletion ts_src/psbt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ function getTaprootHashesForSig(
inputIndex,
signingScripts,
values,
Transaction.SIGHASH_DEFAULT,
sighashType,
tapLeaf.hash,
);

Expand Down

0 comments on commit 55d7cd5

Please sign in to comment.