1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 10:30:04 +01:00
metamask-extension/app/scripts/controllers/network
Mark Stacey e5a050b36f
Remove unused parameters from setProviderType (#11270)
Only the first parameter, `type`, was ever passed in. The others are
superfluous. The defaults have been set directly instead.

It's a bit silly to set the `rpcUrl` and `nickname` to an empty string,
but to make this more sensible would take much more effort. This at
least is simpler and guaranteed to be equivalent.
2021-06-10 13:54:18 -02:30
..
middleware
createInfuraClient.js eth-block-tracker@5.0.1 (#10737) 2021-03-26 10:03:44 -07:00
createJsonRpcClient.js eth-block-tracker@5.0.1 (#10737) 2021-03-26 10:03:44 -07:00
createMetamaskMiddleware.js
index.js cancel unapproved confirmations on network change (#10357) 2021-02-08 17:22:30 -06:00
network-controller.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
network.js Remove unused parameters from setProviderType (#11270) 2021-06-10 13:54:18 -02:30
pending-middleware.test.js Add gas constants (#11248) 2021-06-08 10:25:48 -05:00
util.js