1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/app/scripts/controllers/network
Elliot Winkler 73b9c1095a
Update NC setProviderType to clear rpcUrl/nickname (#18675)
In the core version of NetworkController, `setProviderType` sets
`rpcTarget` (its name for `rpcUrl`) and `nickname` to `undefined`.
While it would be better to completely remove these properties, it would
be better to follow suit so that we can make the tests between the two
versions of the controllers more alike.
2023-04-20 15:50:59 -02:30
..
provider-api-tests Convert NetworkController net client tests to TS (#18490) 2023-04-14 10:21:29 -06:00
test Use fake provider for NetworkController unit tests (#18628) 2023-04-20 15:21:41 -02:30
create-network-client.test.ts Convert NetworkController net client tests to TS (#18490) 2023-04-14 10:21:29 -06:00
create-network-client.ts
index.ts
network-controller.test.ts Update NC setProviderType to clear rpcUrl/nickname (#18675) 2023-04-20 15:50:59 -02:30
network-controller.ts Update NC setProviderType to clear rpcUrl/nickname (#18675) 2023-04-20 15:50:59 -02:30