mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Cleanup
This commit is contained in:
parent
f4158d26f6
commit
e4d09aebf4
@ -12,7 +12,7 @@ const denodeify = require('denodeify')
|
|||||||
const RETRY_LIMIT = 200
|
const RETRY_LIMIT = 200
|
||||||
const RESUBMIT_INTERVAL = 10000 // Ten seconds
|
const RESUBMIT_INTERVAL = 10000 // Ten seconds
|
||||||
|
|
||||||
module.exports = class TransactionManager extends EventEmitter {
|
module.exports = class TransactionController extends EventEmitter {
|
||||||
constructor (opts) {
|
constructor (opts) {
|
||||||
super()
|
super()
|
||||||
this.store = new ObservableStore(extend({
|
this.store = new ObservableStore(extend({
|
||||||
@ -448,7 +448,8 @@ module.exports = class TransactionManager extends EventEmitter {
|
|||||||
const rawTx = txMeta.rawTx
|
const rawTx = txMeta.rawTx
|
||||||
this.txProviderUtils.publishTransaction(rawTx, cb)
|
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user