diff options
author | kumavis <aaron@kumavis.me> | 2017-09-30 07:35:58 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-09-30 07:35:58 +0800 |
commit | d6ea2fa425c90f6e05d2d59d4a79f1b573cc2e06 (patch) | |
tree | 2e0f0873d8654972d8441e0fea055c7b32dc27cb /app/scripts/controllers | |
parent | b88d11f86ede907bdf51cd224e5ea6285e56147b (diff) | |
download | tangerine-wallet-browser-d6ea2fa425c90f6e05d2d59d4a79f1b573cc2e06.tar.gz tangerine-wallet-browser-d6ea2fa425c90f6e05d2d59d4a79f1b573cc2e06.tar.zst tangerine-wallet-browser-d6ea2fa425c90f6e05d2d59d4a79f1b573cc2e06.zip |
network - convert localhost from custom rpc to network type
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r-- | app/scripts/controllers/network.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/controllers/network.js b/app/scripts/controllers/network.js index 9e05afe75..9079e0653 100644 --- a/app/scripts/controllers/network.js +++ b/app/scripts/controllers/network.js @@ -10,6 +10,7 @@ const RPC_ADDRESS_LIST = require('../config.js').network const DEFAULT_RPC = RPC_ADDRESS_LIST['rinkeby'] module.exports = class NetworkController extends EventEmitter { + constructor (config) { super() config.provider.rpcTarget = this.getRpcAddressForType(config.provider.type, config.provider) |