aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib
diff options
context:
space:
mode:
authorChen Wei <chenwei@byzantine-lab.io>2019-07-01 18:36:31 +0800
committerChen Wei <chenwei@byzantine-lab.io>2019-07-01 18:36:31 +0800
commit4af785859d508445228dba9c3d5163ac842b4b53 (patch)
tree087693fc2b9ccc32f068c7dfa4bdd90286afcaed /ui/lib
parent629ec182fe69a8ee81abc2a03ba26dd1a1f76a24 (diff)
downloadtangerine-wallet-browser-4af785859d508445228dba9c3d5163ac842b4b53.tar
tangerine-wallet-browser-4af785859d508445228dba9c3d5163ac842b4b53.tar.gz
tangerine-wallet-browser-4af785859d508445228dba9c3d5163ac842b4b53.tar.bz2
tangerine-wallet-browser-4af785859d508445228dba9c3d5163ac842b4b53.tar.lz
tangerine-wallet-browser-4af785859d508445228dba9c3d5163ac842b4b53.tar.xz
tangerine-wallet-browser-4af785859d508445228dba9c3d5163ac842b4b53.tar.zst
tangerine-wallet-browser-4af785859d508445228dba9c3d5163ac842b4b53.zip
estimated gas should come from RPC
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/tx-helper.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/lib/tx-helper.js b/ui/lib/tx-helper.js
index cdacc5ed7..d67130039 100644
--- a/ui/lib/tx-helper.js
+++ b/ui/lib/tx-helper.js
@@ -2,22 +2,22 @@ const valuesFor = require('../app/helpers/utils/util').valuesFor
const log = require('loglevel')
module.exports = function (unapprovedTxs, unapprovedMsgs, personalMsgs, typedMessages, network) {
- log.debug('tx-helper called with params:')
- log.debug({ unapprovedTxs, unapprovedMsgs, personalMsgs, typedMessages, network })
+ // log.debug('tx-helper called with params:')
+ // log.debug({ unapprovedTxs, unapprovedMsgs, personalMsgs, typedMessages, network })
const txValues = network ? valuesFor(unapprovedTxs).filter(txMeta => txMeta.metamaskNetworkId === network) : valuesFor(unapprovedTxs)
- log.debug(`tx helper found ${txValues.length} unapproved txs`)
+ // log.debug(`tx helper found ${txValues.length} unapproved txs`)
const msgValues = valuesFor(unapprovedMsgs)
- log.debug(`tx helper found ${msgValues.length} unsigned messages`)
+ // log.debug(`tx helper found ${msgValues.length} unsigned messages`)
let allValues = txValues.concat(msgValues)
const personalValues = valuesFor(personalMsgs)
- log.debug(`tx helper found ${personalValues.length} unsigned personal messages`)
+ // log.debug(`tx helper found ${personalValues.length} unsigned personal messages`)
allValues = allValues.concat(personalValues)
const typedValues = valuesFor(typedMessages)
- log.debug(`tx helper found ${typedValues.length} unsigned typed messages`)
+ // log.debug(`tx helper found ${typedValues.length} unsigned typed messages`)
allValues = allValues.concat(typedValues)
allValues = allValues.sort((a, b) => {