diff --git a/common/components/AddressField.tsx b/common/components/AddressField.tsx index 6c66ea1c..244bd713 100644 --- a/common/components/AddressField.tsx +++ b/common/components/AddressField.tsx @@ -3,13 +3,15 @@ import { AddressFieldFactory } from './AddressFieldFactory'; import { donationAddressMap } from 'config'; import translate from 'translations'; import { Input } from 'components/ui'; +import { toChecksumAddress } from 'ethereumjs-util'; interface Props { isReadOnly?: boolean; isSelfAddress?: boolean; + isCheckSummed?: boolean; } -export const AddressField: React.SFC = ({ isReadOnly, isSelfAddress }) => ( +export const AddressField: React.SFC = ({ isReadOnly, isSelfAddress, isCheckSummed }) => ( ( @@ -21,7 +23,7 @@ export const AddressField: React.SFC = ({ isReadOnly, isSelfAddress }) => {
{translate('CONFIRM_TX_FROM')}{' '}
-
{from}
+
+ {toChecksumAddress(from)} +
)} @@ -57,7 +59,7 @@ class AddressesClass extends Component { className="small tx-modal-address-tkn-contract-link" href={ETHAddressExplorer(to)} > - {to} + {toChecksumAddress(to)} diff --git a/common/containers/Tabs/SendTransaction/components/RequestPayment.tsx b/common/containers/Tabs/SendTransaction/components/RequestPayment.tsx index 3f961ee2..515140b2 100644 --- a/common/containers/Tabs/SendTransaction/components/RequestPayment.tsx +++ b/common/containers/Tabs/SendTransaction/components/RequestPayment.tsx @@ -94,7 +94,7 @@ class RequestPayment extends React.Component { return (
- +