aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/background.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-04-19 08:44:10 +0800
committerDan Finlay <dan@danfinlay.com>2016-04-19 08:44:10 +0800
commit7291e3f1b32f933ef1c8cc9c2f96f48bb6f33652 (patch)
tree920378800e10539cc02330fcf0a110f91079c9b5 /app/scripts/background.js
parent15e953f11f2675a54447fa0eed6f46925a73d077 (diff)
parent28f14661fd484f215c5bfdc93e1b447ddcdb42ca (diff)
downloadtangerine-wallet-browser-7291e3f1b32f933ef1c8cc9c2f96f48bb6f33652.tar
tangerine-wallet-browser-7291e3f1b32f933ef1c8cc9c2f96f48bb6f33652.tar.gz
tangerine-wallet-browser-7291e3f1b32f933ef1c8cc9c2f96f48bb6f33652.tar.bz2
tangerine-wallet-browser-7291e3f1b32f933ef1c8cc9c2f96f48bb6f33652.tar.lz
tangerine-wallet-browser-7291e3f1b32f933ef1c8cc9c2f96f48bb6f33652.tar.xz
tangerine-wallet-browser-7291e3f1b32f933ef1c8cc9c2f96f48bb6f33652.tar.zst
tangerine-wallet-browser-7291e3f1b32f933ef1c8cc9c2f96f48bb6f33652.zip
Merge branch 'AddPersistentTransactionLog'
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r--app/scripts/background.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index db4927083..1519f63db 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -191,7 +191,8 @@ idStore.on('update', updateBadge)
function updateBadge(state){
var label = ''
- var count = Object.keys(state.unconfTxs).length
+ var unconfTxs = configManager.unconfirmedTxs()
+ var count = Object.keys(unconfTxs).length
if (count) {
label = String(count)
}