diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-04-20 02:56:34 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-04-20 03:07:45 +0800 |
commit | e862a5091e271e8065e9da3c25540612f98a8d2a (patch) | |
tree | 0196bb424c8112ca4cabdfb9c9992efd67ec86cc /app | |
parent | c20c97ce625207c7afcd48a12f6e7891d582ae99 (diff) | |
download | tangerine-wallet-browser-e862a5091e271e8065e9da3c25540612f98a8d2a.tar tangerine-wallet-browser-e862a5091e271e8065e9da3c25540612f98a8d2a.tar.gz tangerine-wallet-browser-e862a5091e271e8065e9da3c25540612f98a8d2a.tar.bz2 tangerine-wallet-browser-e862a5091e271e8065e9da3c25540612f98a8d2a.tar.lz tangerine-wallet-browser-e862a5091e271e8065e9da3c25540612f98a8d2a.tar.xz tangerine-wallet-browser-e862a5091e271e8065e9da3c25540612f98a8d2a.tar.zst tangerine-wallet-browser-e862a5091e271e8065e9da3c25540612f98a8d2a.zip |
transactions - fix refernces
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/transactions/index.js | 2 | ||||
-rw-r--r-- | app/scripts/controllers/transactions/pending-tx-tracker.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions/index.js b/app/scripts/controllers/transactions/index.js index 6e47816f8..fc6340bd6 100644 --- a/app/scripts/controllers/transactions/index.js +++ b/app/scripts/controllers/transactions/index.js @@ -177,7 +177,7 @@ add a new unapproved transaction to the pipeline async addTxGasDefaults (txMeta) { const txParams = txMeta.txParams // ensure value - txParams.value = txParams.value ? ethUtil.addHexPrefix(value) : '0x0', + txParams.value = txParams.value ? ethUtil.addHexPrefix(txParams.value) : '0x0' txMeta.gasPriceSpecified = Boolean(txParams.gasPrice) let gasPrice = txParams.gasPrice if (!gasPrice) { diff --git a/app/scripts/controllers/transactions/pending-tx-tracker.js b/app/scripts/controllers/transactions/pending-tx-tracker.js index 98b3d2b08..f7c9993b3 100644 --- a/app/scripts/controllers/transactions/pending-tx-tracker.js +++ b/app/scripts/controllers/transactions/pending-tx-tracker.js @@ -1,4 +1,5 @@ const EventEmitter = require('events') +const log = require('loglevel') const EthQuery = require('ethjs-query') /** |