aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/account-detail.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-05-20 03:06:45 +0800
committerDan Finlay <dan@danfinlay.com>2016-05-20 03:06:45 +0800
commitc8deb355f7d1e4d1e10868a7d960fa460a7c51db (patch)
tree7f00234f62abda988035dc4ac83f7981ad446452 /ui/app/account-detail.js
parent685a1881b86c19fe52a7cd82ed4e2b34617429ff (diff)
downloadtangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar
tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.gz
tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.bz2
tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.lz
tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.xz
tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.zst
tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.zip
Add address capitalization checksumming
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r--ui/app/account-detail.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index 263e48441..489392473 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -13,6 +13,7 @@ const Identicon = require('./components/identicon')
const EtherBalance = require('./components/eth-balance')
const transactionList = require('./components/transaction-list')
const ExportAccountView = require('./components/account-export')
+const ethUtil = require('ethereumjs-util')
module.exports = connect(mapStateToProps)(AccountDetailScreen)
@@ -110,7 +111,7 @@ AccountDetailScreen.prototype.render = function() {
}),
h('i.fa.fa-clipboard.fa-md.cursor-pointer.color-orange', {
- onClick: () => copyToClipboard(selected),
+ onClick: () => copyToClipboard(ethUtil.toChecksumAddress(selected)),
}),
]),
@@ -133,7 +134,7 @@ AccountDetailScreen.prototype.render = function() {
}, 'SEND ETH'),
]),
-
+
]),
// subview (tx history, pk export confirm)