diff --git a/package.json b/package.json index 13d07b1..46a7d9a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "dlc-btc-lib", - "version": "1.0.15", + "version": "1.0.16", "description": "This library provides a comprehensive set of interfaces and functions for minting dlcBTC tokens on supported blockchains.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/dlc-handlers/ledger-dlc-handler.ts b/src/dlc-handlers/ledger-dlc-handler.ts index 6e641f1..ec87d33 100644 --- a/src/dlc-handlers/ledger-dlc-handler.ts +++ b/src/dlc-handlers/ledger-dlc-handler.ts @@ -519,7 +519,6 @@ export class LedgerDLCHandler { fundingWalletPolicy, null ); - console.log('userSignatures', userSignatures); switch (this.fundingPaymentType) { case 'wpkh': addNativeSegwitSignaturesToPSBT(psbt, userSignatures); @@ -531,7 +530,7 @@ export class LedgerDLCHandler { throw new Error('Invalid Funding Payment Type'); } const userInputIndices = userSignatures.map(signature => signature[0]); - console.log('userInputIndices', userInputIndices); + const depositTransaction = Transaction.fromPSBT(psbt.toBuffer()); userInputIndices.forEach(index => { depositTransaction.finalizeIdx(index);