2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-01-11 23:05:17 +00:00

Add missing accountsChanged event to web3 provider

Fixes 
This commit is contained in:
Richard Ramos 2021-05-13 10:08:05 -04:00 committed by Iuri Matias
parent 6fd7142cb5
commit 5895495bc3

@ -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 => {