File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ function extractTaprootSigs(input) {
171
171
function getTapKeySigFromWithness ( finalScriptWitness ) {
172
172
if ( ! finalScriptWitness ) return ;
173
173
const witness = finalScriptWitness . slice ( 2 ) ;
174
- // todo: add schnor signature validation
174
+ // todo: add schnorr signature validation
175
175
if ( witness . length === 64 || witness . length === 65 ) return witness ;
176
176
}
177
177
function _tapTreeToList ( tree , leaves = [ ] , depth = 0 ) {
Original file line number Diff line number Diff line change @@ -1739,8 +1739,8 @@ function getTaprootHashesForSig(
1739
1739
const prevOuts : Output [ ] = inputs . map ( ( i , index ) =>
1740
1740
getScriptAndAmountFromUtxo ( index , i , cache ) ,
1741
1741
) ;
1742
- const signingScripts : any = prevOuts . map ( o => o . script ) ;
1743
- const values : any = prevOuts . map ( o => o . value ) ;
1742
+ const signingScripts = prevOuts . map ( o => o . script ) ;
1743
+ const values = prevOuts . map ( o => o . value ) ;
1744
1744
1745
1745
const hashes = [ ] ;
1746
1746
if ( input . tapInternalKey && ! tapLeafHashToSign ) {
You can’t perform that action at this time.
0 commit comments