Skip to content

Commit

Permalink
Merge pull request #4271 from BitGo/BTC-900-fix-update-build-defaults
Browse files Browse the repository at this point in the history
fix(bitgo): fix updating the wallet build defaults
  • Loading branch information
davidkaplanbitgo authored Feb 8, 2024
2 parents 2b4e960 + fed02a4 commit 0b17d0d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/sdk-core/src/bitgo/wallet/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,13 @@ export class Wallet implements IWallet {
common.validateParams(params, [], ['minFeeRate', 'changeAddressType', 'txFormat']);
return this.bitgo
.put(this.url())
.send({ minFeeRate: params.minFeeRate, changeAddressType: params.changeAddressType, txFormat: params.txFormat })
.send({
buildDefaults: {
minFeeRate: params.minFeeRate,
changeAddressType: params.changeAddressType,
txFormat: params.txFormat,
},
})
.result();
}

Expand Down

0 comments on commit 0b17d0d

Please sign in to comment.