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/components/pending-tx.js | |
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/components/pending-tx.js')
-rw-r--r-- | ui/app/components/pending-tx.js | 6 |
1 files changed, 3 insertions, 3 deletions
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) |