mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #4450 from MetaMask/fix-migration-26
Fix return value of migration 26 when missing KC or PC
This commit is contained in:
commit
8a2d75f3a6
@ -27,7 +27,7 @@ module.exports = {
|
|||||||
|
|
||||||
function transformState (state) {
|
function transformState (state) {
|
||||||
if (!state.KeyringController || !state.PreferencesController) {
|
if (!state.KeyringController || !state.PreferencesController) {
|
||||||
return
|
return state
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!state.KeyringController.walletNicknames) {
|
if (!state.KeyringController.walletNicknames) {
|
||||||
|
Loading…
Reference in New Issue
Block a user