Update ts_src/psbt.ts
Co-Authored-By: d-yokoi <d-yokoi@users.noreply.github.com>
This commit is contained in:
parent
e10324f850
commit
ad7577c4e2
1 changed files with 1 additions and 1 deletions
|
@ -765,7 +765,7 @@ function hasSigs(
|
||||||
.map(pkey => {
|
.map(pkey => {
|
||||||
const pubkey = ecPairFromPublicKey(pkey, { compressed: true })
|
const pubkey = ecPairFromPublicKey(pkey, { compressed: true })
|
||||||
.publicKey;
|
.publicKey;
|
||||||
return partialSig.filter(pSig => pSig.pubkey.equals(pubkey))[0];
|
return partialSig.find(pSig => pSig.pubkey.equals(pubkey));
|
||||||
})
|
})
|
||||||
.filter(v => !!v);
|
.filter(v => !!v);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue