mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
63c402155d
In the core version of NetworkController, the `networkDetails` property is initialized to `{ EIPS: {} }`. It is also reset to this representation when `refreshNetwork` is called. In this version of NetworkController, however, the default representation of `networkDetails` is `{ EIPS: { 1559: undefined } }`. From a consumer's perspective this doesn't make a difference — it's practically the same. It does make a slight difference in tests, however. With that in mind, this commit changes the default representation to `{ EIPS: {} }`. This makes it easier to visually compare differences in the NetworkController unit tests between core and this repo. |
||
---|---|---|
.. | ||
account-import-strategies | ||
constants | ||
controllers | ||
lib | ||
migrations | ||
platforms | ||
app-init.js | ||
background.js | ||
contentscript.js | ||
detect-multiple-instances.js | ||
detect-multiple-instances.test.js | ||
disable-console.js | ||
first-time-state.js | ||
init-globals.js | ||
inpage.js | ||
lockdown-more.js | ||
lockdown-run.js | ||
metamask-controller.actions.test.js | ||
metamask-controller.js | ||
metamask-controller.test.js | ||
mmi-keyring-builder-factory.js | ||
sentry-install.js | ||
ui.js | ||
use-snow.js |