mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix migration 28
This commit is contained in:
parent
2b25902561
commit
8df3f2696c
@ -25,8 +25,8 @@ function transformState (state) {
|
|||||||
const newState = state
|
const newState = state
|
||||||
|
|
||||||
if (newState.PreferencesController) {
|
if (newState.PreferencesController) {
|
||||||
if (newState.PreferencesController.tokens) {
|
if (newState.PreferencesController.tokens && newState.PreferencesController.identities) {
|
||||||
const identities = newState.TransactionController.identities
|
const identities = newState.PreferencesController.identities
|
||||||
const tokens = newState.PreferencesController.tokens
|
const tokens = newState.PreferencesController.tokens
|
||||||
newState.PreferencesController.accountTokens = {}
|
newState.PreferencesController.accountTokens = {}
|
||||||
for (const identity in identities) {
|
for (const identity in identities) {
|
||||||
|
Loading…
Reference in New Issue
Block a user