aboutsummaryrefslogtreecommitdiff
path: root/extension/background/wallet.js
diff options
context:
space:
mode:
Diffstat (limited to 'extension/background/wallet.js')
-rw-r--r--extension/background/wallet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/background/wallet.js b/extension/background/wallet.js
index cc2154a8a..047eb9970 100644
--- a/extension/background/wallet.js
+++ b/extension/background/wallet.js
@@ -386,7 +386,7 @@ class Wallet {
Query(this.db)
.iter("coins")
.reduce(countNonEmpty, 0)
- .then(doBadge);
+ .then(doBadge.bind(this));
}
storeCoin(coin) {
Query(this.db)