aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/token-list.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-08-17 00:50:16 +0800
committerDan Finlay <dan@danfinlay.com>2017-08-17 00:52:09 +0800
commit3b6ee032f58de18c80f66833c54e4f9795ffbced (patch)
tree79ee5c2114e1270b6fa7ed1251ed52b5f59319fe /ui/app/components/token-list.js
parentc6cfa2157b45a0e86152d2511b2233a24c5ba741 (diff)
downloadtangerine-wallet-browser-3b6ee032f58de18c80f66833c54e4f9795ffbced.tar
tangerine-wallet-browser-3b6ee032f58de18c80f66833c54e4f9795ffbced.tar.gz
tangerine-wallet-browser-3b6ee032f58de18c80f66833c54e4f9795ffbced.tar.bz2
tangerine-wallet-browser-3b6ee032f58de18c80f66833c54e4f9795ffbced.tar.lz
tangerine-wallet-browser-3b6ee032f58de18c80f66833c54e4f9795ffbced.tar.xz
tangerine-wallet-browser-3b6ee032f58de18c80f66833c54e4f9795ffbced.tar.zst
tangerine-wallet-browser-3b6ee032f58de18c80f66833c54e4f9795ffbced.zip
Remove dead code
Diffstat (limited to 'ui/app/components/token-list.js')
-rw-r--r--ui/app/components/token-list.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/ui/app/components/token-list.js b/ui/app/components/token-list.js
index 1ea15521a..4bcde7d1d 100644
--- a/ui/app/components/token-list.js
+++ b/ui/app/components/token-list.js
@@ -3,7 +3,6 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
const TokenTracker = require('eth-token-tracker')
const TokenCell = require('./token-cell.js')
-const normalizeAddress = require('eth-sig-util').normalize
module.exports = TokenList
@@ -189,16 +188,3 @@ TokenList.prototype.componentWillUnmount = function () {
this.tracker.stop()
}
-function uniqueMergeTokens (tokensA, tokensB) {
- const uniqueAddresses = []
- const result = []
- tokensA.concat(tokensB).forEach((token) => {
- const normal = normalizeAddress(token.address)
- if (!uniqueAddresses.includes(normal)) {
- uniqueAddresses.push(normal)
- result.push(token)
- }
- })
- return result
-}
-