diff --git a/src/psbt/bip371.js b/src/psbt/bip371.js index c9706b7bb..8e76ecda7 100644 --- a/src/psbt/bip371.js +++ b/src/psbt/bip371.js @@ -171,7 +171,7 @@ function extractTaprootSigs(input) { function getTapKeySigFromWithness(finalScriptWitness) { if (!finalScriptWitness) return; const witness = finalScriptWitness.slice(2); - // todo: add schnor signature validation + // todo: add schnorr signature validation if (witness.length === 64 || witness.length === 65) return witness; } function _tapTreeToList(tree, leaves = [], depth = 0) { diff --git a/ts_src/psbt.ts b/ts_src/psbt.ts index df3cf22ad..824e70a87 100644 --- a/ts_src/psbt.ts +++ b/ts_src/psbt.ts @@ -1739,8 +1739,8 @@ function getTaprootHashesForSig( const prevOuts: Output[] = inputs.map((i, index) => getScriptAndAmountFromUtxo(index, i, cache), ); - const signingScripts: any = prevOuts.map(o => o.script); - const values: any = prevOuts.map(o => o.value); + const signingScripts = prevOuts.map(o => o.script); + const values = prevOuts.map(o => o.value); const hashes = []; if (input.tapInternalKey && !tapLeafHashToSign) {