aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/transactions.js
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-08-02 23:47:13 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-08-02 23:47:13 +0800
commit25bc15ba175091513f6d281e9a16f3643fe4b18d (patch)
treefc4487a4170e754a7043a914a9422915432dfa27 /app/scripts/controllers/transactions.js
parent25cffd21f8defdf5a1bf139bdc2e3b1cfd08c220 (diff)
downloadtangerine-wallet-browser-25bc15ba175091513f6d281e9a16f3643fe4b18d.tar
tangerine-wallet-browser-25bc15ba175091513f6d281e9a16f3643fe4b18d.tar.gz
tangerine-wallet-browser-25bc15ba175091513f6d281e9a16f3643fe4b18d.tar.bz2
tangerine-wallet-browser-25bc15ba175091513f6d281e9a16f3643fe4b18d.tar.lz
tangerine-wallet-browser-25bc15ba175091513f6d281e9a16f3643fe4b18d.tar.xz
tangerine-wallet-browser-25bc15ba175091513f6d281e9a16f3643fe4b18d.tar.zst
tangerine-wallet-browser-25bc15ba175091513f6d281e9a16f3643fe4b18d.zip
lint fixes
Diffstat (limited to 'app/scripts/controllers/transactions.js')
-rw-r--r--app/scripts/controllers/transactions.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 8855dfd5b..0c63a5647 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -1,11 +1,9 @@
const EventEmitter = require('events')
-const async = require('async')
const extend = require('xtend')
-const pify = require('pify')
const clone = require('clone')
const ObservableStore = require('obs-store')
const ethUtil = require('ethereumjs-util')
-const EthQuery = require('ethjs-query');
+const EthQuery = require('ethjs-query')
const TxProviderUtil = require('../lib/tx-utils')
const getStack = require('../lib/util').getStack
const createId = require('../lib/random-id')
@@ -168,7 +166,7 @@ module.exports = class TransactionController extends EventEmitter {
history: [],
}
// add default tx params
- await this.addTxDefaults(txMeta),
+ await this.addTxDefaults(txMeta)
// save txMeta
this.addTx(txMeta)
return txMeta