1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/controllers/network
Elliot Winkler a876eaba23
removeNetworkConfiguration validates given ID (#18650)
In the `core` version of NetworkController, `removeNetworkConfiguration`
throws an error if the given network configuration ID doesn't match an
existing network configuration. This commits adds the same check for
consistency. It also makes some minor changes to the implementation and
tests for `removeNetworkConfiguration` for consistency as well.
2023-04-19 09:47:33 -06:00
..
provider-api-tests Convert NetworkController net client tests to TS (#18490) 2023-04-14 10:21:29 -06:00
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 Refactor network client constructor (#17652) 2023-03-22 17:20:59 -05:00
index.ts Convert NetworkController to TS (#18358) 2023-04-11 10:07:24 -06:00
network-controller.test.ts removeNetworkConfiguration validates given ID (#18650) 2023-04-19 09:47:33 -06:00
network-controller.ts removeNetworkConfiguration validates given ID (#18650) 2023-04-19 09:47:33 -06:00