aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/background.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-08-03 10:57:16 +0800
committerGitHub <noreply@github.com>2017-08-03 10:57:16 +0800
commit8a9d0073b1d6b959e9374180e2f52d12ea8319ca (patch)
treed1718624781338be20181aa40d461d99304e274d /app/scripts/background.js
parent2c37d438885865fb9b93769a6dee9fb32f8d82aa (diff)
parent5ac4c2de6fa3a83709eeefc71d5afc0857a28445 (diff)
downloadtangerine-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.js2
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