diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-09-08 04:59:05 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-09-13 10:48:52 +0800 |
commit | f1a309e0cc110060cc56252ec5f7626ca6403fab (patch) | |
tree | 204da913ed98c7b5947cc74907335bd545f02213 /ui/app/components/transaction-breakdown | |
parent | c18c0e1c30bd7b2800e66288e21ee724e7314b30 (diff) | |
download | tangerine-wallet-browser-f1a309e0cc110060cc56252ec5f7626ca6403fab.tar tangerine-wallet-browser-f1a309e0cc110060cc56252ec5f7626ca6403fab.tar.gz tangerine-wallet-browser-f1a309e0cc110060cc56252ec5f7626ca6403fab.tar.bz2 tangerine-wallet-browser-f1a309e0cc110060cc56252ec5f7626ca6403fab.tar.lz tangerine-wallet-browser-f1a309e0cc110060cc56252ec5f7626ca6403fab.tar.xz tangerine-wallet-browser-f1a309e0cc110060cc56252ec5f7626ca6403fab.tar.zst tangerine-wallet-browser-f1a309e0cc110060cc56252ec5f7626ca6403fab.zip |
Fix identicon address. Fix styling of New Contract recipient. Fix Activity Log initial ETH value. Add timestamps to Activity Log events
Diffstat (limited to 'ui/app/components/transaction-breakdown')
-rw-r--r-- | ui/app/components/transaction-breakdown/transaction-breakdown.component.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/transaction-breakdown/transaction-breakdown.component.js b/ui/app/components/transaction-breakdown/transaction-breakdown.component.js index a168b53dc..bb6075e9f 100644 --- a/ui/app/components/transaction-breakdown/transaction-breakdown.component.js +++ b/ui/app/components/transaction-breakdown/transaction-breakdown.component.js @@ -7,7 +7,7 @@ import CurrencyDisplay from '../currency-display' import HexToDecimal from '../hex-to-decimal' import { ETH, GWEI } from '../../constants/common' import { getHexGasTotal } from '../../helpers/confirm-transaction/util' -import { addHex } from '../../helpers/transactions.util' +import { sumHexes } from '../../helpers/transactions.util' export default class TransactionBreakdown extends PureComponent { static contextTypes = { @@ -28,7 +28,7 @@ export default class TransactionBreakdown extends PureComponent { const { transaction, className } = this.props const { txParams: { gas, gasPrice, value } = {} } = transaction const hexGasTotal = getHexGasTotal({ gasLimit: gas, gasPrice }) - const totalInHex = addHex(hexGasTotal, value) + const totalInHex = sumHexes(hexGasTotal, value) return ( <div className={classnames('transaction-breakdown', className)}> |