aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conf-tx.js
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2017-09-28 01:57:02 +0800
committerGitHub <noreply@github.com>2017-09-28 01:57:02 +0800
commite72083f6e81f888f714125f7c050e777ea5c9bdd (patch)
tree8177fb150ae254b838cabec028b3c5e08fbc951e /ui/app/conf-tx.js
parentff5e8746bee0d7461df02e7f2186ff7c90bfcb50 (diff)
parentca0dff06f5d9283e57b452dcc7e85c31b248b8aa (diff)
downloadtangerine-wallet-browser-e72083f6e81f888f714125f7c050e777ea5c9bdd.tar
tangerine-wallet-browser-e72083f6e81f888f714125f7c050e777ea5c9bdd.tar.gz
tangerine-wallet-browser-e72083f6e81f888f714125f7c050e777ea5c9bdd.tar.bz2
tangerine-wallet-browser-e72083f6e81f888f714125f7c050e777ea5c9bdd.tar.lz
tangerine-wallet-browser-e72083f6e81f888f714125f7c050e777ea5c9bdd.tar.xz
tangerine-wallet-browser-e72083f6e81f888f714125f7c050e777ea5c9bdd.tar.zst
tangerine-wallet-browser-e72083f6e81f888f714125f7c050e777ea5c9bdd.zip
Merge branch 'master' into filter-fixes-moar
Diffstat (limited to 'ui/app/conf-tx.js')
-rw-r--r--ui/app/conf-tx.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index 1ee4166f7..15fb9a59f 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -29,6 +29,7 @@ function mapStateToProps (state) {
conversionRate: state.metamask.conversionRate,
currentCurrency: state.metamask.currentCurrency,
blockGasLimit: state.metamask.currentBlockGasLimit,
+ computedBalances: state.metamask.computedBalances,
}
}
@@ -39,7 +40,7 @@ function ConfirmTxScreen () {
ConfirmTxScreen.prototype.render = function () {
const props = this.props
- const { network, provider, unapprovedTxs, currentCurrency,
+ const { network, provider, unapprovedTxs, currentCurrency, computedBalances,
unapprovedMsgs, unapprovedPersonalMsgs, conversionRate, blockGasLimit } = props
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, unapprovedPersonalMsgs, network)
@@ -48,7 +49,6 @@ ConfirmTxScreen.prototype.render = function () {
var txParams = txData.params || {}
var isNotification = isPopupOrNotification() === 'notification'
-
log.info(`rendering a combined ${unconfTxList.length} unconf msg & txs`)
if (unconfTxList.length === 0) return h(Loading, { isLoading: true })
@@ -104,6 +104,7 @@ ConfirmTxScreen.prototype.render = function () {
currentCurrency,
blockGasLimit,
unconfTxListLength,
+ computedBalances,
// Actions
buyEth: this.buyEth.bind(this, txParams.from || props.selectedAddress),
sendTransaction: this.sendTransaction.bind(this),