Commit Graph

2 Commits

Author SHA1 Message Date
Connor Bryan e68e3ccc2f Tighten web3 network change refresh validation (#2014)
* Add a check to make sure a network even exists on the web3Wallet instance

* Format snap files
2018-07-05 12:29:23 -05:00
Connor Bryan c52a975aad Handle MetaMask network change (#1988)
* Poll for changes to MetaMask's network and reset the wallet if they don't match local

* Add tests for

* Add a test suite for handleMetaMaskPolling

* Add a userful comment and remove an unnecessary jest.mock

* Remove superfluous comment

* Change logout to a window reload

* Adjust verbiage of test case
2018-07-03 13:12:39 -05:00