aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-05-24 05:49:10 +0800
committerDan Finlay <dan@danfinlay.com>2017-05-24 05:49:10 +0800
commite4d09aebf470f9c014f2b658ccf5042a3995d708 (patch)
tree2d5dc2c417cc892bc6e52f6f41be17f6dfd32b9e /app
parentf4158d26f61aed1882ca5734f561e12f68726972 (diff)
downloadtangerine-wallet-browser-e4d09aebf470f9c014f2b658ccf5042a3995d708.tar
tangerine-wallet-browser-e4d09aebf470f9c014f2b658ccf5042a3995d708.tar.gz
tangerine-wallet-browser-e4d09aebf470f9c014f2b658ccf5042a3995d708.tar.bz2
tangerine-wallet-browser-e4d09aebf470f9c014f2b658ccf5042a3995d708.tar.lz
tangerine-wallet-browser-e4d09aebf470f9c014f2b658ccf5042a3995d708.tar.xz
tangerine-wallet-browser-e4d09aebf470f9c014f2b658ccf5042a3995d708.tar.zst
tangerine-wallet-browser-e4d09aebf470f9c014f2b658ccf5042a3995d708.zip
Cleanup
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/transactions.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 3d86a171e..4d3197cba 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -12,7 +12,7 @@ const denodeify = require('denodeify')
const RETRY_LIMIT = 200
const RESUBMIT_INTERVAL = 10000 // Ten seconds
-module.exports = class TransactionManager extends EventEmitter {
+module.exports = class TransactionController extends EventEmitter {
constructor (opts) {
super()
this.store = new ObservableStore(extend({
@@ -448,7 +448,8 @@ module.exports = class TransactionManager extends EventEmitter {
const rawTx = txMeta.rawTx
this.txProviderUtils.publishTransaction(rawTx, cb)
}
+
}
-const warn = () => console.warn('warn was used no cb provided')
+const warn = () => log.warn('warn was used no cb provided')