mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-17 05:26:36 +00:00
Remove MyEtherWallet Ref (#1412)
This commit is contained in:
parent
586e39d799
commit
07d9325702
@ -60,9 +60,7 @@ export async function setupWeb3Node() {
|
|||||||
const { web3 } = window as any;
|
const { web3 } = window as any;
|
||||||
|
|
||||||
if (!web3 || !web3.currentProvider || !web3.currentProvider.sendAsync) {
|
if (!web3 || !web3.currentProvider || !web3.currentProvider.sendAsync) {
|
||||||
throw new Error(
|
throw new Error('Web3 not found. Please check that MetaMask is installed');
|
||||||
'Web3 not found. Please check that MetaMask is installed, or that MyEtherWallet is open in Mist.'
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const lib = new Web3Node();
|
const lib = new Web3Node();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user