Add missing accountsChanged event to web3 provider

Fixes #2423
This commit is contained in:
Richard Ramos 2021-05-13 10:08:05 -04:00 committed by Iuri Matias
parent 6fd7142cb5
commit 5895495bc3
1 changed files with 1 additions and 0 deletions

View File

@ -855,6 +855,7 @@ You may add additional accurate notices of copyright ownership.
window.ethereum.on("connected", () => {}); // TODO: Dummy event. Will need to be replaced once connecte/disconnected provider logic is implemented in status-go
window.ethereum.emit("connected", {"chainId": backend.networkId.toString()});
window.ethereum.on("accountsChanged", () => {});
});
const bridgeSend = data => {