Skip to content

Commit

Permalink
Remove usage of unlisted extend dependency (#7903)
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh authored Jan 28, 2020
1 parent 7921196 commit 5078598
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/scripts/controllers/network/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {} }

Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 5078598

Please sign in to comment.