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

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,7 +1628,8 @@ 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: {
1631
+ case KeyringTypes.simple:
1632
+ case KeyringTypes.hd: {
1632
1633
  const isIncluded = Boolean(accounts.find((key) => newAccountArray[0] &&
1633
1634
  (key === newAccountArray[0] ||
1634
1635
  key === (0, utils_1.remove0x)(newAccountArray[0]))));