diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-01-29 14:59:28 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2017-01-29 14:59:28 +0800 |
commit | fdee1e3701a84fe1321de348ec2d11bf5361a62d (patch) | |
tree | 1844d6c25cc824c9303ab79103525cab08d5e0b3 /ui/app/account-detail.js | |
parent | 8be68575bbef1dcc89b51355abaee90dbf018387 (diff) | |
parent | 47b48c0e02b2b9508813abfda0d89a1bbe677694 (diff) | |
download | tangerine-wallet-browser-fdee1e3701a84fe1321de348ec2d11bf5361a62d.tar tangerine-wallet-browser-fdee1e3701a84fe1321de348ec2d11bf5361a62d.tar.gz tangerine-wallet-browser-fdee1e3701a84fe1321de348ec2d11bf5361a62d.tar.bz2 tangerine-wallet-browser-fdee1e3701a84fe1321de348ec2d11bf5361a62d.tar.lz tangerine-wallet-browser-fdee1e3701a84fe1321de348ec2d11bf5361a62d.tar.xz tangerine-wallet-browser-fdee1e3701a84fe1321de348ec2d11bf5361a62d.tar.zst tangerine-wallet-browser-fdee1e3701a84fe1321de348ec2d11bf5361a62d.zip |
Merge branch 'dev' into messageManagerCleanUp
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r-- | ui/app/account-detail.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 7f6f155f3..72a2b23df 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -41,6 +41,7 @@ function AccountDetailScreen () { AccountDetailScreen.prototype.render = function () { var props = this.props var selected = props.address || Object.keys(props.accounts)[0] + var checksumAddress = selected && ethUtil.toChecksumAddress(selected) var identity = props.identities[selected] var account = props.accounts[selected] const { network } = props @@ -116,7 +117,7 @@ AccountDetailScreen.prototype.render = function () { marginBottom: '15px', color: '#AEAEAE', }, - }, ethUtil.toChecksumAddress(selected)), + }, checksumAddress), // copy and export @@ -129,7 +130,7 @@ AccountDetailScreen.prototype.render = function () { h(AccountInfoLink, { selected, network }), h(CopyButton, { - value: ethUtil.toChecksumAddress(selected), + value: checksumAddress, }), h(Tooltip, { |