Allow metamask unlock on all networks (#1490)

This commit is contained in:
Daniel Ternyak 2018-04-10 21:53:54 -05:00 committed by GitHub
parent 6a05436e1d
commit 54dc4f94e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,11 +65,6 @@ export function isWalletFormatSupportedOnNetwork(state: AppState, format: Wallet
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
return true;
}