Skip to content

Commit 57f915e

Browse files
committed
chore: add explicit type for returned signatures
1 parent 9960306 commit 57f915e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ts_src/psbt.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,9 @@ export class Psbt {
995995
sighashTypes,
996996
);
997997

998-
const signaturePromises: Promise<any>[] = [];
998+
const signaturePromises: Promise<
999+
{ tapKeySig: Buffer } | { tapScriptSig: TapScriptSig[] }
1000+
>[] = [];
9991001
const tapKeyHash = hashesForSig.filter(h => !h.leafHash)[0];
10001002
if (tapKeyHash) {
10011003
const tapKeySigPromise = Promise.resolve(

0 commit comments

Comments
 (0)