diff options
author | Jenny Pollack <jennypollack3@gmail.com> | 2019-02-21 03:12:12 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2019-02-21 03:12:12 +0800 |
commit | c6e84ccf458061a6b64e6a15512b008e8d0166ea (patch) | |
tree | 3565eb40cc9ff987e8c9326707864012697ecb84 /app/scripts/metamask-controller.js | |
parent | 41f89ac7edf994f3d15d32d3d82d8d2b03dec481 (diff) | |
download | tangerine-wallet-browser-c6e84ccf458061a6b64e6a15512b008e8d0166ea.tar tangerine-wallet-browser-c6e84ccf458061a6b64e6a15512b008e8d0166ea.tar.gz tangerine-wallet-browser-c6e84ccf458061a6b64e6a15512b008e8d0166ea.tar.bz2 tangerine-wallet-browser-c6e84ccf458061a6b64e6a15512b008e8d0166ea.tar.lz tangerine-wallet-browser-c6e84ccf458061a6b64e6a15512b008e8d0166ea.tar.xz tangerine-wallet-browser-c6e84ccf458061a6b64e6a15512b008e8d0166ea.tar.zst tangerine-wallet-browser-c6e84ccf458061a6b64e6a15512b008e8d0166ea.zip |
account tracker - update accounts from balanceChecker contract (#6181)
* account tracker - update accounts from balanceChecker contract
* fall back to getBalance if the contract query fails
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 b75f95d01..6555f179d 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -133,6 +133,7 @@ module.exports = class MetamaskController extends EventEmitter { this.accountTracker = new AccountTracker({ provider: this.provider, blockTracker: this.blockTracker, + network: this.networkController, }) // start and stop polling for balances based on activeControllerConnections |