1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove unused verifyNetwork method (#16882)

The network controller method `verifyNetwork` has been deleted. It was
unused.

This relates to https://github.com/MetaMask/controllers/issues/971
This commit is contained in:
Mark Stacey 2022-12-13 13:57:28 -03:30 committed by GitHub
parent e4e69d86b2
commit 5df6f653af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,13 +175,6 @@ export default class NetworkController extends EventEmitter {
return supportsEIP1559;
}
verifyNetwork() {
// Check network when restoring connectivity:
if (this.isNetworkLoading()) {
this.lookupNetwork();
}
}
getNetworkState() {
return this.networkStore.getState();
}