mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
b58c0d7810
Many of the "message manager" background methods return a full copy of the background state in their response; presumably to save us from making a full round-trip to update the UI `metamask` state after it changes. However, the action creators responsible for calling these methods were calling `updateMetamaskState` even when the background method failed. In effect, they were setting the UI `metamask` state to `undefined`. They have been updated to only set the UI `metamask` state if the background method succeeded. |
||
---|---|---|
.. | ||
data | ||
e2e | ||
integration | ||
lib | ||
stub | ||
unit | ||
unit-global | ||
web3 | ||
base.conf.js | ||
env.js | ||
flat.conf.js | ||
helper.js | ||
setup.js |