diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-07-01 01:21:47 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-07-01 01:26:45 +0800 |
commit | 8abd592034649ee0ad47eaaa33859b99d206df1f (patch) | |
tree | b7a6790750c53f61aaf6fdd0929783f682d613e8 | |
parent | c9dd8a9cfd3d7ccc5f4957db5cf3a7161d8e903e (diff) | |
download | tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.gz tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.bz2 tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.lz tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.xz tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.zst tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.zip |
Stop loading popular tokens by default
Improves performance when loading the token tab.
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | ui/app/components/token-list.js | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e88d085e0..46a093b8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Current Master +- Temporarily disabled loading popular tokens by default to improve performance. + ## 3.8.0 2017-6-28 - No longer stop rebroadcasting transactions diff --git a/ui/app/components/token-list.js b/ui/app/components/token-list.js index bf352dc11..fed7e9f7a 100644 --- a/ui/app/components/token-list.js +++ b/ui/app/components/token-list.js @@ -3,10 +3,11 @@ const h = require('react-hyperscript') const inherits = require('util').inherits const TokenTracker = require('eth-token-tracker') const TokenCell = require('./token-cell.js') -const contracts = require('eth-contract-metadata') const normalizeAddress = require('eth-sig-util').normalize const defaultTokens = [] +/* +const contracts = require('eth-contract-metadata') for (const address in contracts) { const contract = contracts[address] if (contract.erc20) { @@ -14,6 +15,7 @@ for (const address in contracts) { defaultTokens.push(contract) } } +*/ module.exports = TokenList |