mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
parent
fed9ae0dee
commit
3667f3cb85
@ -7,6 +7,7 @@
|
|||||||
- Add Trezor Support
|
- Add Trezor Support
|
||||||
- Allow to remove accounts (Imported and Hardware Wallets)
|
- Allow to remove accounts (Imported and Hardware Wallets)
|
||||||
- [#4840](https://github.com/MetaMask/metamask-extension/pull/4840): Now shows notifications when transactions are completed.
|
- [#4840](https://github.com/MetaMask/metamask-extension/pull/4840): Now shows notifications when transactions are completed.
|
||||||
|
- [#4855](https://github.com/MetaMask/metamask-extension/pull/4855): network.js: convert rpc protocol to lower case.
|
||||||
|
|
||||||
## 4.8.0 Thur Jun 14 2018
|
## 4.8.0 Thur Jun 14 2018
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ const extend = require('xtend')
|
|||||||
const EthQuery = require('eth-query')
|
const EthQuery = require('eth-query')
|
||||||
const createEventEmitterProxy = require('../../lib/events-proxy.js')
|
const createEventEmitterProxy = require('../../lib/events-proxy.js')
|
||||||
const log = require('loglevel')
|
const log = require('loglevel')
|
||||||
|
const urlUtil = require('url')
|
||||||
const {
|
const {
|
||||||
ROPSTEN,
|
ROPSTEN,
|
||||||
RINKEBY,
|
RINKEBY,
|
||||||
@ -155,6 +156,8 @@ module.exports = class NetworkController extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_configureStandardProvider ({ rpcUrl }) {
|
_configureStandardProvider ({ rpcUrl }) {
|
||||||
|
// urlUtil handles malformed urls
|
||||||
|
rpcUrl = urlUtil.parse(rpcUrl).format()
|
||||||
const providerParams = extend(this._baseProviderParams, {
|
const providerParams = extend(this._baseProviderParams, {
|
||||||
rpcUrl,
|
rpcUrl,
|
||||||
engineParams: {
|
engineParams: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user