Skip to content

Commit

Permalink
fix: update appclient signpsbt response
Browse files Browse the repository at this point in the history
  • Loading branch information
osiastedian committed Dec 11, 2023
1 parent fe0d79e commit 5f33a1a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions desktop-wallet/src/main/LedgerApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,9 @@ export const setupLedgerApi = (window: BrowserWindow) => {
console.log("Sign psbt resp", { entries });

entries.forEach((entry, i) => {
const [index, pubkeySign, signature] = entry;
const [index, partialSig] = entry;
bitcoinPsbt.updateInput(index, {
partialSig: [
{
pubkey: pubkeySign,
signature: signature,
},
],
partialSig: [partialSig],
});
});

Expand Down

0 comments on commit 5f33a1a

Please sign in to comment.