From 5f33a1a56fdd8b94b1a6abf91ce16409e92e526f Mon Sep 17 00:00:00 2001 From: Ted Ian Osias Date: Mon, 11 Dec 2023 23:39:29 +0800 Subject: [PATCH] fix: update appclient signpsbt response --- desktop-wallet/src/main/LedgerApi.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/desktop-wallet/src/main/LedgerApi.ts b/desktop-wallet/src/main/LedgerApi.ts index 21f5fd6..3a550f2 100644 --- a/desktop-wallet/src/main/LedgerApi.ts +++ b/desktop-wallet/src/main/LedgerApi.ts @@ -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], }); });