Skip to content

Commit

Permalink
fix(neuron-wallet): fix the error comes with deleting all wallets
Browse files Browse the repository at this point in the history
Remove the obliteration of wallets.json
  • Loading branch information
Keith-CY committed Aug 1, 2019
1 parent 6b2f974 commit fa87136
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/neuron-wallet/src/services/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ export default class WalletService {
if (currentID === id) {
if (newWallets.length > 0) {
this.setCurrent(newWallets[0].id)
} else {
this.listStore.clear()
}
}

Expand Down

0 comments on commit fa87136

Please sign in to comment.