Skip to content

Commit 9263bc1

Browse files
authored
Merge pull request #7860 from BitGo/BTC-0-remove-extra-param
chore: remove duplicate PSBT hex from signTransaction response
2 parents 2982b7c + f5870b2 commit 9263bc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/sdk-api/src/v1/wallet.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,8 +965,7 @@ Wallet.prototype.signTransaction = function (params, callback) {
965965
const psbtHex = params.psbt || params.transactionHex;
966966
return tryPromise(() => signPsbtRequest({ psbt: psbtHex, keychain: params.keychain }))
967967
.then(function (result) {
968-
// Return result with transactionHex containing the signed PSBT for consistency
969-
return { tx: result.psbt, transactionHex: result.psbt };
968+
return { tx: result.psbt };
970969
})
971970
.then(callback)
972971
.catch(callback);

0 commit comments

Comments
 (0)