From f1a309e0cc110060cc56252ec5f7626ca6403fab Mon Sep 17 00:00:00 2001 From: Alexander Tseung Date: Fri, 7 Sep 2018 13:59:05 -0700 Subject: Fix identicon address. Fix styling of New Contract recipient. Fix Activity Log initial ETH value. Add timestamps to Activity Log events --- .../transaction-breakdown/transaction-breakdown.component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/app/components/transaction-breakdown') 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 (
-- cgit v1.2.3