aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-31 07:53:21 +0800
committerkumavis <aaron@kumavis.me>2017-01-31 07:53:21 +0800
commit0b9d37c6c8e714eb26bec5156e984a6b0cd268ad (patch)
treeaad1a62ee4ed4b7e34c0bd78b9f680dc2aeaaded /app
parent7ccaa263d265edc2f987dc66af0caf5fedb42296 (diff)
downloadtangerine-wallet-browser-0b9d37c6c8e714eb26bec5156e984a6b0cd268ad.tar.gz
tangerine-wallet-browser-0b9d37c6c8e714eb26bec5156e984a6b0cd268ad.tar.zst
tangerine-wallet-browser-0b9d37c6c8e714eb26bec5156e984a6b0cd268ad.zip
migration #6 - fix selectedAddress data source
Diffstat (limited to 'app')
-rw-r--r--app/scripts/migrations/006.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/migrations/006.js b/app/scripts/migrations/006.js
index 677e89bf7..950c4deb8 100644
--- a/app/scripts/migrations/006.js
+++ b/app/scripts/migrations/006.js
@@ -25,12 +25,12 @@ module.exports = {
}
function migrateState (state) {
- const config = state.config
+ const keyringSubstate = state.KeyringController
// add new state
const newState = extend(state, {
PreferencesController: {
- selectedAddress: config.selectedAccount,
+ selectedAddress: keyringSubstate.selectedAccount,
},
})