Skip to content

Commit

Permalink
chore(wallet-mobile): CRs clean ups
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain committed Apr 22, 2024
1 parent 6fd3fab commit 061e375
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/wallet-mobile/src/wallet-manager/walletManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ export class WalletManager {
await this.#rootStorage.setItem('deletedWalletIds', [])
}

// Note(ppershing): needs 'this' to be bound
_notify = (event: WalletManagerEvent) => {
// TODO(ppershing): do this in next tick?
this.#subscriptions.forEach((handler) => handler(event))
}

Expand Down Expand Up @@ -223,7 +221,6 @@ export class WalletManager {
})

wallet.subscribe((event) => this._notify(event as never))
// wallet.startSync()

return wallet
}
Expand Down

0 comments on commit 061e375

Please sign in to comment.