Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Ensure data is correctly formatted when retrieving from local db #121

Closed
meriadec opened this issue Feb 14, 2018 · 0 comments
Closed

Ensure data is correctly formatted when retrieving from local db #121

meriadec opened this issue Feb 14, 2018 · 0 comments

Comments

@meriadec
Copy link
Member

As everyone can modify the local "db", which is just a simple file, we need to ensure that data is correctly formatted. e.g: https://github.com/LedgerHQ/ledger-wallet-desktop/blob/dd12eb5d27662d8694cbcaf69c1242f9526c4a7b/src/actions/settings.js#L16

so we need to add default values + try catch on parsing db file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant