From 70c5e35525c2803f739265ebbc734ab8de4d1870 Mon Sep 17 00:00:00 2001 From: David Kaplan Date: Thu, 19 Oct 2023 17:54:31 -0400 Subject: [PATCH] fix(sdk-core): fix dc wallet creation TICKET: BTC-553 --- modules/sdk-core/src/bitgo/keychain/keychains.ts | 1 - modules/sdk-core/src/bitgo/wallet/wallets.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/modules/sdk-core/src/bitgo/keychain/keychains.ts b/modules/sdk-core/src/bitgo/keychain/keychains.ts index 97e5cefe1c..ef1402a86b 100644 --- a/modules/sdk-core/src/bitgo/keychain/keychains.ts +++ b/modules/sdk-core/src/bitgo/keychain/keychains.ts @@ -197,7 +197,6 @@ export class Keychains implements IKeychains { 'originalPasscodeEncryptionCode', 'enterprise', 'derivedFromParentWithSeed', - 'isDistributedCustody', ] ); diff --git a/modules/sdk-core/src/bitgo/wallet/wallets.ts b/modules/sdk-core/src/bitgo/wallet/wallets.ts index 2b982451a3..44076eb77f 100644 --- a/modules/sdk-core/src/bitgo/wallet/wallets.ts +++ b/modules/sdk-core/src/bitgo/wallet/wallets.ts @@ -262,9 +262,6 @@ export class Wallets implements IWallets { if (!params.enterprise) { throw new Error('must provide enterprise when creating distributed custody wallet'); } - if (params.multisigType !== 'onchain') { - throw new Error('distributed custody wallets must be onchain'); - } if (!walletParams.isCold) { throw new Error('distributed custody wallets must be cold'); }