Skip to content

Commit

Permalink
Merge pull request #4002 from BitGo/BTC-553-fix-key-gen-dc
Browse files Browse the repository at this point in the history
fix(sdk-core): fix dc wallet creation
  • Loading branch information
lcovar authored Oct 20, 2023
2 parents c114cae + 70c5e35 commit e8b3c2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion modules/sdk-core/src/bitgo/keychain/keychains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ export class Keychains implements IKeychains {
'originalPasscodeEncryptionCode',
'enterprise',
'derivedFromParentWithSeed',
'isDistributedCustody',
]
);

Expand Down
3 changes: 0 additions & 3 deletions modules/sdk-core/src/bitgo/wallet/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit e8b3c2f

Please sign in to comment.