aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send
diff options
context:
space:
mode:
authorbitpshr <mail@bitpshr.net>2018-04-18 03:57:55 +0800
committerbitpshr <mail@bitpshr.net>2018-04-18 21:47:05 +0800
commitcce123c30e9562e01971edf9ae11b89cf91c7089 (patch)
tree840338ca0307b67e2480d485e761a9b63ef163d4 /ui/app/components/send
parent7b70804aa0d74120098a4bcb2c375d29080e8368 (diff)
downloadtangerine-wallet-browser-cce123c30e9562e01971edf9ae11b89cf91c7089.tar
tangerine-wallet-browser-cce123c30e9562e01971edf9ae11b89cf91c7089.tar.gz
tangerine-wallet-browser-cce123c30e9562e01971edf9ae11b89cf91c7089.tar.bz2
tangerine-wallet-browser-cce123c30e9562e01971edf9ae11b89cf91c7089.tar.lz
tangerine-wallet-browser-cce123c30e9562e01971edf9ae11b89cf91c7089.tar.xz
tangerine-wallet-browser-cce123c30e9562e01971edf9ae11b89cf91c7089.tar.zst
tangerine-wallet-browser-cce123c30e9562e01971edf9ae11b89cf91c7089.zip
Show checksummed addresses throughout the UI
Diffstat (limited to 'ui/app/components/send')
-rw-r--r--ui/app/components/send/account-list-item.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/send/account-list-item.js b/ui/app/components/send/account-list-item.js
index 1ad3f69c1..b5e604a6e 100644
--- a/ui/app/components/send/account-list-item.js
+++ b/ui/app/components/send/account-list-item.js
@@ -2,6 +2,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const connect = require('react-redux').connect
+const { checksumAddress } = require('../../util')
const Identicon = require('../identicon')
const CurrencyDisplay = require('./currency-display')
const { conversionRateSelector, getCurrentCurrency } = require('../../selectors')
@@ -56,7 +57,7 @@ AccountListItem.prototype.render = function () {
]),
- displayAddress && name && h('div.account-list-item__account-address', address),
+ displayAddress && name && h('div.account-list-item__account-address', checksumAddress(address)),
displayBalance && h(CurrencyDisplay, {
primaryCurrency: 'ETH',