Skip to content

Commit 9cba526

Browse files
Merge pull request #5161 from BitGo/BTC-1636
fix(sdk-core): preprocess recipients before initiate
2 parents 5338e4b + c71ca11 commit 9cba526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3671,7 +3671,7 @@ export class Wallet implements IWallet {
36713671
// extract the whitelisted params from the top level, in case
36723672
// other invalid params are present that would fail encoding
36733673
// and fall back to the body params
3674-
const whitelistedParams = _.pick(params, whitelistedSendParams);
3674+
const whitelistedParams = this.baseCoin.preprocessBuildParams(_.pick(params, whitelistedSendParams));
36753675
const reqTracer = reqId || new RequestTracer();
36763676
this.bitgo.setRequestTracer(reqTracer);
36773677
return postWithCodec(

0 commit comments

Comments
 (0)