diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-08-03 10:57:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-03 10:57:16 +0800 |
commit | 8a9d0073b1d6b959e9374180e2f52d12ea8319ca (patch) | |
tree | d1718624781338be20181aa40d461d99304e274d /app/scripts/background.js | |
parent | 2c37d438885865fb9b93769a6dee9fb32f8d82aa (diff) | |
parent | 5ac4c2de6fa3a83709eeefc71d5afc0857a28445 (diff) | |
download | tangerine-wallet-browser-8a9d0073b1d6b959e9374180e2f52d12ea8319ca.tar tangerine-wallet-browser-8a9d0073b1d6b959e9374180e2f52d12ea8319ca.tar.gz tangerine-wallet-browser-8a9d0073b1d6b959e9374180e2f52d12ea8319ca.tar.bz2 tangerine-wallet-browser-8a9d0073b1d6b959e9374180e2f52d12ea8319ca.tar.lz tangerine-wallet-browser-8a9d0073b1d6b959e9374180e2f52d12ea8319ca.tar.xz tangerine-wallet-browser-8a9d0073b1d6b959e9374180e2f52d12ea8319ca.tar.zst tangerine-wallet-browser-8a9d0073b1d6b959e9374180e2f52d12ea8319ca.zip |
Merge pull request #1848 from MetaMask/transactionControllerRefractor
Transaction controller refractor part 1: promises for everyone and more tests!
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index a235afff3..f077ca7a8 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -121,7 +121,7 @@ function setupController (initState) { // plugin badge text function updateBadge () { var label = '' - var unapprovedTxCount = controller.txController.unapprovedTxCount + var unapprovedTxCount = controller.txController.getUnapprovedTxCount() var unapprovedMsgCount = controller.messageManager.unapprovedMsgCount var unapprovedPersonalMsgs = controller.personalMessageManager.unapprovedPersonalMsgCount var count = unapprovedTxCount + unapprovedMsgCount + unapprovedPersonalMsgs |