File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ function extractTaprootSigs(input) {
171171function getTapKeySigFromWithness ( finalScriptWitness ) {
172172 if ( ! finalScriptWitness ) return ;
173173 const witness = finalScriptWitness . slice ( 2 ) ;
174- // todo: add schnor signature validation
174+ // todo: add schnorr signature validation
175175 if ( witness . length === 64 || witness . length === 65 ) return witness ;
176176}
177177function _tapTreeToList ( tree , leaves = [ ] , depth = 0 ) {
Original file line number Diff line number Diff line change @@ -1739,8 +1739,8 @@ function getTaprootHashesForSig(
17391739 const prevOuts : Output [ ] = inputs . map ( ( i , index ) =>
17401740 getScriptAndAmountFromUtxo ( index , i , cache ) ,
17411741 ) ;
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 ) ;
17441744
17451745 const hashes = [ ] ;
17461746 if ( input . tapInternalKey && ! tapLeafHashToSign ) {
You can’t perform that action at this time.
0 commit comments