diff options
-rw-r--r-- | app/scripts/migrations/006.js | 4 |
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, }, }) |