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 c462fb8 commit 4d56847
Show file tree
Hide file tree
Showing 6 changed files with 1,026 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 4d56847

Please sign in to comment.