Skip to content

Commit

Permalink
feat: convert account tracker to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptodev-2s committed Sep 17, 2024
1 parent bc7929b commit 1b07a49
Show file tree
Hide file tree
Showing 6 changed files with 1,027 additions and 846 deletions.
2 changes: 1 addition & 1 deletion app/scripts/controllers/mmi-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export default class MMIController extends EventEmitter {
const allAccounts = await this.keyringController.getAccounts();

const accountsToTrack = [
...new Set(
...new Set<string>(
oldAccounts.concat(allAccounts.map((a: string) => a.toLowerCase())),
),
];
Expand Down
Loading

0 comments on commit 1b07a49

Please sign in to comment.