mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
db45a0aef4
In the core version of NetworkController, when the `setActiveNetwork` method updates the provider configuration object, it will capture the ID of the network configuration used to do so within the provider config itself. In the same way, `setProviderType` clears any ID that was previously set from the provider config. This commit updates this version of NetworkController to be consistent and updates tests to match. |
||
---|---|---|
.. | ||
provider-api-tests | ||
test | ||
create-network-client.test.ts | ||
create-network-client.ts | ||
index.ts | ||
network-controller.test.ts | ||
network-controller.ts |