aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-01 07:36:17 +0800
committerkumavis <aaron@kumavis.me>2018-05-01 07:36:17 +0800
commit6f316ca450967c161e7f231127a76494bace40a8 (patch)
tree548b6b5907cb1bb32821eeea48f1f7099a76a527 /app/scripts/controllers
parentbfedd2776d1fa668259488a5216c533b4e959fb0 (diff)
downloadtangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.gz
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.zst
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.zip
network - remove setNetworkEndpoints
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r--app/scripts/controllers/network/network.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/scripts/controllers/network/network.js b/app/scripts/controllers/network/network.js
index 3e4bfa020..37a5e69a0 100644
--- a/app/scripts/controllers/network/network.js
+++ b/app/scripts/controllers/network/network.js
@@ -38,19 +38,6 @@ module.exports = class NetworkController extends EventEmitter {
this.on('networkDidChange', this.lookupNetwork)
}
- async setNetworkEndpoints (version) {
- if (version === this._networkEndpointVersion) {
- return
- }
-
- this._networkEndpointVersion = version
- this._networkEndpoints = getNetworkEndpoints(version)
- this._defaultRpc = this._networkEndpoints[DEFAULT_NETWORK]
- const { type } = this.getProviderConfig()
-
- return this.setProviderType(type, true)
- }
-
initializeProvider (_providerParams) {
this._baseProviderParams = _providerParams
const { type, rpcTarget } = this.providerStore.getState()