diff options
author | Esteban MIno <efmino@uc.cl> | 2018-07-28 04:17:28 +0800 |
---|---|---|
committer | Esteban MIno <efmino@uc.cl> | 2018-07-28 04:17:28 +0800 |
commit | e687bc5a47e2157193dfa099a0f45a97fa1aaed1 (patch) | |
tree | 6e5d6f18c810db477add669b276c750fc375753c /app/scripts/migrations | |
parent | 228f48c6e5423cbf8cfd5d48a3f6f106448cc22e (diff) | |
download | tangerine-wallet-browser-e687bc5a47e2157193dfa099a0f45a97fa1aaed1.tar.gz tangerine-wallet-browser-e687bc5a47e2157193dfa099a0f45a97fa1aaed1.tar.zst tangerine-wallet-browser-e687bc5a47e2157193dfa099a0f45a97fa1aaed1.zip |
fix migration for preferences controller tokens
Diffstat (limited to 'app/scripts/migrations')
-rw-r--r-- | app/scripts/migrations/028.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/migrations/028.js b/app/scripts/migrations/028.js index e36884a9c..cbda48584 100644 --- a/app/scripts/migrations/028.js +++ b/app/scripts/migrations/028.js @@ -29,7 +29,7 @@ function transformState (state) { const tokens = newState.TransactionController.tokens const selectedAddress = newState.PreferencesController.selectedAddress newState.PreferencesController.tokens = [] - newState.PreferencesController.accountTokens = {selectedAddress: {'mainnet': tokens}} + newState.PreferencesController.accountTokens = {[selectedAddress]: {'mainnet': tokens}} } } |