diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2019-03-12 02:36:36 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2019-03-12 02:36:36 +0800 |
commit | ef7ac90bca6b0e82fb633763d2e268321df504cf (patch) | |
tree | 707f35e043c5cfab8e2698cef4022b196c03a574 /ui/app | |
parent | 22c4fe046990b9d38fa47d0983a40dc3f3c0b079 (diff) | |
download | tangerine-wallet-browser-ef7ac90bca6b0e82fb633763d2e268321df504cf.tar tangerine-wallet-browser-ef7ac90bca6b0e82fb633763d2e268321df504cf.tar.gz tangerine-wallet-browser-ef7ac90bca6b0e82fb633763d2e268321df504cf.tar.bz2 tangerine-wallet-browser-ef7ac90bca6b0e82fb633763d2e268321df504cf.tar.lz tangerine-wallet-browser-ef7ac90bca6b0e82fb633763d2e268321df504cf.tar.xz tangerine-wallet-browser-ef7ac90bca6b0e82fb633763d2e268321df504cf.tar.zst tangerine-wallet-browser-ef7ac90bca6b0e82fb633763d2e268321df504cf.zip |
Remove line rather than comment out
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/util.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/app/util.js b/ui/app/util.js index 4fe7136a9..3237e5feb 100644 --- a/ui/app/util.js +++ b/ui/app/util.js @@ -95,8 +95,6 @@ function miniAddressSummary (address) { function isValidAddress (address, network) { var prefixed = ethUtil.addHexPrefix(address) if (address === '0x0000000000000000000000000000000000000000') return false - // Checksums on non-ETH Blockchains #6001 - // if (!isEthNetwork(network)) return (ethUtil.isValidAddress(prefixed) && address === address.toLowerCase()) return (isAllOneCase(prefixed) && ethUtil.isValidAddress(prefixed)) || ethUtil.isValidChecksumAddress(prefixed) } @@ -317,8 +315,6 @@ function getTokenAddressFromTokenObject (token) { function checksumAddress (address, network) { const checksummed = address ? ethUtil.toChecksumAddress(address) : '' return checksummed - // Checksums on non-ETH Blockchains #6001 - // return checksummed && network && !isEthNetwork(network) ? checksummed.toLowerCase() : checksummed } function addressSlicer (address = '') { |