mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-23 17:38:57 +00:00
Allow metamask unlock on all networks (#1490)
This commit is contained in:
parent
6a05436e1d
commit
54dc4f94e3
@ -65,11 +65,6 @@ export function isWalletFormatSupportedOnNetwork(state: AppState, format: Wallet
|
|||||||
return !!dPath;
|
return !!dPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure Web3 is only enabled on ETH or ETH Testnets (MetaMask does not support other networks)
|
|
||||||
if (format === SecureWalletName.WEB3) {
|
|
||||||
return isNetworkUnit(state, 'ETH');
|
|
||||||
}
|
|
||||||
|
|
||||||
// All other wallet formats are supported
|
// All other wallet formats are supported
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user