mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
clean up unused code from old noncelock
This commit is contained in:
parent
6d2cddaac9
commit
51ff6d74e8
@ -1,7 +1,6 @@
|
|||||||
const EventEmitter = require('events')
|
const EventEmitter = require('events')
|
||||||
const async = require('async')
|
const async = require('async')
|
||||||
const extend = require('xtend')
|
const extend = require('xtend')
|
||||||
const Semaphore = require('semaphore')
|
|
||||||
const ObservableStore = require('obs-store')
|
const ObservableStore = require('obs-store')
|
||||||
const ethUtil = require('ethereumjs-util')
|
const ethUtil = require('ethereumjs-util')
|
||||||
const denodeify = require('denodeify')
|
const denodeify = require('denodeify')
|
||||||
@ -41,7 +40,6 @@ module.exports = class TransactionController extends EventEmitter {
|
|||||||
this.blockTracker.on('latest', this.resubmitPendingTxs.bind(this))
|
this.blockTracker.on('latest', this.resubmitPendingTxs.bind(this))
|
||||||
this.blockTracker.on('sync', this.queryPendingTxs.bind(this))
|
this.blockTracker.on('sync', this.queryPendingTxs.bind(this))
|
||||||
this.signEthTx = opts.signTransaction
|
this.signEthTx = opts.signTransaction
|
||||||
this.nonceLock = Semaphore(1)
|
|
||||||
this.ethStore = opts.ethStore
|
this.ethStore = opts.ethStore
|
||||||
// memstore is computed from a few different stores
|
// memstore is computed from a few different stores
|
||||||
this._updateMemstore()
|
this._updateMemstore()
|
||||||
|
Loading…
Reference in New Issue
Block a user