1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/scripts/controllers
Mark Stacey 4086f7b4d6
Fix error when fetchParams is null (#9757)
If the swaps state is cleared in between the initial quote fetch and
the subsequent poll fetch, a `TypeError` will be thrown due to
`fetchParams` being set to `null`.

This is of no functional consequence, as `fetchParams` _should_ be
`null` in this case, and and no further action should be taken.

The optional chaining operator is now used to ensure the call no longer
throws.
2020-10-29 15:52:04 -02:30
..
ens Fix node/no-deprecated-api issues (#9670) 2020-10-22 11:33:45 -02:30
network Use networkVersion as the network state for all networks (#9555) 2020-10-12 17:06:25 -07:00
permissions Update @metamask/eslint-config to v4.1.0 (#9663) 2020-10-21 14:01:03 -02:30
transactions Gas metrics tweaks for swaps failed and completed events (#9676) 2020-10-22 17:34:34 -02:30
alert.js Merge pull request from GHSA-c2xw-px2x-pr65 2020-10-06 15:27:02 -02:30
app-state.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
cached-balances.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
detect-tokens.js Fix accessor-pairs issues (#9680) 2020-10-22 14:36:44 -02:30
incoming-transactions.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
onboarding.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
preferences.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
swaps.js Fix error when fetchParams is null (#9757) 2020-10-29 15:52:04 -02:30
threebox.js Fix 3Box sync and e2e tests (#9422) 2020-09-29 14:17:55 -02:30
token-rates.js Fix accessor-pairs issues (#9680) 2020-10-22 14:36:44 -02:30