@metamask-previews/keyring-controller 21.0.3-preview-3d7a30d → 21.0.3-preview-66f06159

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1628,8 +1628,7 @@ async function _KeyringController_removeEmptyKeyrings() {
1628
1628
  async function _KeyringController_checkForDuplicate(type, newAccountArray) {
1629
1629
  const accounts = await __classPrivateFieldGet(this, _KeyringController_instances, "m", _KeyringController_getAccountsFromKeyrings).call(this);
1630
1630
  switch (type) {
1631
- case KeyringTypes.simple:
1632
- case KeyringTypes.hd: {
1631
+ case KeyringTypes.simple: {
1633
1632
  const isIncluded = Boolean(accounts.find((key) => newAccountArray[0] &&
1634
1633
  (key === newAccountArray[0] ||
1635
1634
  key === (0, utils_1.remove0x)(newAccountArray[0]))));