diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-10-06 08:06:55 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-10-06 08:06:55 +0800 |
commit | b9012a62e5df372a9cd5309e345b5f5ff0230e38 (patch) | |
tree | 553578318e7e067bdb619abb346957ab48e377b7 /ui/app | |
parent | bb9c2b3563938832e4b35b6623ef724017093fcb (diff) | |
parent | 53da368d2370edbb78eca063ff701c0492abbff6 (diff) | |
download | tangerine-wallet-browser-b9012a62e5df372a9cd5309e345b5f5ff0230e38.tar tangerine-wallet-browser-b9012a62e5df372a9cd5309e345b5f5ff0230e38.tar.gz tangerine-wallet-browser-b9012a62e5df372a9cd5309e345b5f5ff0230e38.tar.bz2 tangerine-wallet-browser-b9012a62e5df372a9cd5309e345b5f5ff0230e38.tar.lz tangerine-wallet-browser-b9012a62e5df372a9cd5309e345b5f5ff0230e38.tar.xz tangerine-wallet-browser-b9012a62e5df372a9cd5309e345b5f5ff0230e38.tar.zst tangerine-wallet-browser-b9012a62e5df372a9cd5309e345b5f5ff0230e38.zip |
Merge branch 'master' into version-debugging
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/account-detail.js | 4 | ||||
-rw-r--r-- | ui/app/components/pending-tx.js | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 90724dc3f..a844daf88 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -46,7 +46,7 @@ AccountDetailScreen.prototype.render = function () { var selected = props.address || Object.keys(props.accounts)[0] var checksumAddress = selected && ethUtil.toChecksumAddress(selected) var identity = props.identities[selected] - var account = props.computedBalances[selected] + var account = props.accounts[selected] const { network, conversionRate, currentCurrency } = props return ( @@ -181,7 +181,7 @@ AccountDetailScreen.prototype.render = function () { }, [ h(EthBalance, { - value: account && account.ethBalance, + value: account && account.balance, conversionRate, currentCurrency, style: { diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js index 6f8c19a3c..c3350fcc1 100644 --- a/ui/app/components/pending-tx.js +++ b/ui/app/components/pending-tx.js @@ -33,7 +33,7 @@ function PendingTx () { PendingTx.prototype.render = function () { const props = this.props - const { currentCurrency, blockGasLimit, computedBalances } = props + const { currentCurrency, blockGasLimit } = props const conversionRate = props.conversionRate const txMeta = this.gatherTxMeta() @@ -42,8 +42,8 @@ PendingTx.prototype.render = function () { // Account Details const address = txParams.from || props.selectedAddress const identity = props.identities[address] || { address: address } - const account = computedBalances[address] - const balance = account ? account.ethBalance : '0x0' + const account = props.accounts[address] + const balance = account ? account.balance : '0x0' // recipient check const isValidAddress = !txParams.to || util.isValidAddress(txParams.to) |