diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-08-03 06:58:05 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-08-03 06:59:34 +0800 |
commit | b80c7e417bfa3adf338170472ba4c4c6733e8402 (patch) | |
tree | 82ed6f3930cdea74edcd8b081112298b8acf613c /app/scripts/background.js | |
parent | 25bc15ba175091513f6d281e9a16f3643fe4b18d (diff) | |
download | tangerine-wallet-browser-b80c7e417bfa3adf338170472ba4c4c6733e8402.tar tangerine-wallet-browser-b80c7e417bfa3adf338170472ba4c4c6733e8402.tar.gz tangerine-wallet-browser-b80c7e417bfa3adf338170472ba4c4c6733e8402.tar.bz2 tangerine-wallet-browser-b80c7e417bfa3adf338170472ba4c4c6733e8402.tar.lz tangerine-wallet-browser-b80c7e417bfa3adf338170472ba4c4c6733e8402.tar.xz tangerine-wallet-browser-b80c7e417bfa3adf338170472ba4c4c6733e8402.tar.zst tangerine-wallet-browser-b80c7e417bfa3adf338170472ba4c4c6733e8402.zip |
move newUnapprovedTransaction to transactions.js
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 bc0fbdc37..f995c390e 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -126,7 +126,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 |