1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00

Remove usage of unlisted extend dependency (#7903)

This commit is contained in:
Whymarrh Whitby 2020-01-28 13:31:20 -03:30 committed by GitHub
parent 7921196536
commit 5078598306
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,6 @@ import createInfuraClient from './createInfuraClient'
import createJsonRpcClient from './createJsonRpcClient'
import createLocalhostClient from './createLocalhostClient'
import { createSwappableProxy, createEventEmitterProxy } from 'swappable-obj-proxy'
import extend from 'extend'
const networks = { networkList: {} }
@ -218,7 +217,7 @@ export default class NetworkController extends EventEmitter {
let settings = {
network: chainId,
}
settings = extend(settings, networks.networkList['rpc'])
settings = Object.assign(settings, networks.networkList['rpc'])
this.networkConfig.putState(settings)
this._setNetworkClient(networkClient)
}