Skip to content

Commit 55caa4a

Browse files
fix(abstract-utxo): pass actual wallet to signTransaction
Issue: BTC-1450
1 parent 345584c commit 55caa4a

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

modules/sdk-coin-hbar/src/hbar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ export class Hbar extends BaseCoin {
273273
* @param params
274274
* @param params.txPrebuild {Object} prebuild object returned by platform
275275
* @param params.prv {String} user prv
276-
* @param params.wallet.addressVersion {String} this is the version of the Algorand multisig address generation format
277276
* @returns Promise<SignedTransaction>
278277
*/
279278
async signTransaction(params: HbarSignTransactionOptions): Promise<SignedTransaction> {

modules/sdk-coin-trx/src/trx.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ export class Trx extends BaseCoin {
263263
* @param params
264264
* @param params.txPrebuild {Object} prebuild object returned by platform
265265
* @param params.prv {String} user prv
266-
* @param params.wallet.addressVersion {String} this is the version of the Algorand multisig address generation format
267266
* @returns Bluebird<SignedTransaction>
268267
*/
269268
async signTransaction(params: TronSignTransactionOptions): Promise<SignedTransaction> {

modules/sdk-coin-xtz/src/xtz.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ export class Xtz extends BaseCoin {
131131
* @param params
132132
* @param params.txPrebuild {Object} prebuild object returned by platform
133133
* @param params.prv {String} user prv
134-
* @param params.wallet.addressVersion {String} this is the version of the Algorand multisig address generation format
135134
* @returns Bluebird<SignedTransaction>
136135
*/
137136
async signTransaction(params: Interface.XtzSignTransactionOptions): Promise<SignedTransaction> {

modules/sdk-core/src/bitgo/wallet/wallet.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,10 +2147,7 @@ export class Wallet implements IWallet {
21472147
const signingParams = {
21482148
...params,
21492149
txPrebuild,
2150-
wallet: {
2151-
// this is the version of the multisig address at wallet creation time
2152-
addressVersion: this._wallet.coinSpecific.addressVersion,
2153-
},
2150+
wallet: this,
21542151
keychain: keychains[0],
21552152
backupKeychain: keychains.length > 1 ? keychains[1] : null,
21562153
bitgoKeychain: keychains.length > 2 ? keychains[2] : null,

0 commit comments

Comments
 (0)