junderw
5 years ago
No known key found for this signature in database
GPG Key ID: B256185D3A971908
1 changed files with
1 additions and
1 deletions
-
src/psbt.js
|
|
@ -581,7 +581,7 @@ function hasSigs(neededSigs, partialSig, pubkeys) { |
|
|
|
.map(pkey => { |
|
|
|
const pubkey = ecpair_1.fromPublicKey(pkey, { compressed: true }) |
|
|
|
.publicKey; |
|
|
|
return partialSig.filter(pSig => pSig.pubkey.equals(pubkey))[0]; |
|
|
|
return partialSig.find(pSig => pSig.pubkey.equals(pubkey)); |
|
|
|
}) |
|
|
|
.filter(v => !!v); |
|
|
|
} else { |
|
|
|