diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-10-05 06:57:38 +0800 |
---|---|---|
committer | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-10-06 01:35:14 +0800 |
commit | 507397f6c366d570af5c6846d7e6a6f6ad3117ed (patch) | |
tree | fd4c6dfab5dd8a4956e9763a4d7799a2b5e6393b /app/scripts/metamask-controller.js | |
parent | 182970c3181fa50c6e6767b0810d98f4cd6380e0 (diff) | |
download | tangerine-wallet-browser-507397f6c366d570af5c6846d7e6a6f6ad3117ed.tar tangerine-wallet-browser-507397f6c366d570af5c6846d7e6a6f6ad3117ed.tar.gz tangerine-wallet-browser-507397f6c366d570af5c6846d7e6a6f6ad3117ed.tar.bz2 tangerine-wallet-browser-507397f6c366d570af5c6846d7e6a6f6ad3117ed.tar.lz tangerine-wallet-browser-507397f6c366d570af5c6846d7e6a6f6ad3117ed.tar.xz tangerine-wallet-browser-507397f6c366d570af5c6846d7e6a6f6ad3117ed.tar.zst tangerine-wallet-browser-507397f6c366d570af5c6846d7e6a6f6ad3117ed.zip |
Fix updating of pending transactions
Transaction statuses were not being properly updated when:
- MetaMask was unlocked
- The network was changed
This PR fixes both of those. Fixes #5174
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 78dc57972..921a58e91 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -555,6 +555,7 @@ module.exports = class MetamaskController extends EventEmitter { } await this.preferencesController.syncAddresses(accounts) + await this.txController.pendingTxTracker.updatePendingTxs() return this.keyringController.fullUpdate() } |