Skip to content

Commit

Permalink
chore: rm unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Bulat committed Apr 17, 2024
1 parent 4425227 commit b6c4514
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions src/controllers/ActivePoolsController/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,6 @@ export class ActivePoolsController {
this.#unsubs = {};
};

static resetState = (): void => {
this.pools = {};
this.activePools = {};
this.poolNominations = {};
};

// ------------------------------------------------------
// Getters.
// ------------------------------------------------------
Expand Down
10 changes: 0 additions & 10 deletions src/controllers/BalancesController/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,16 +324,6 @@ export class BalancesController {
this.#unsubs = {};
};

// Reset all saved state.
static resetState = (): void => {
this.accounts = [];
this.ledgers = {};
this.balances = {};
this.payees = {};
this.poolMemberships = {};
this.nominations = {};
};

// ------------------------------------------------------
// Class helpers.
// ------------------------------------------------------
Expand Down

0 comments on commit b6c4514

Please sign in to comment.