aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2017-07-01 02:43:46 +0800
committerGitHub <noreply@github.com>2017-07-01 02:43:46 +0800
commit96c8236fd802f64fde07a1e46f8e9bab23545be4 (patch)
treebe2e94d02e85a5e9574fdeaa0a4b8075e545912d
parent6a502b9170ff269c0e1502d2798bcf7aa6652eb1 (diff)
parent7de87154e829581c4f97d77294863af204ddf15c (diff)
downloadtangerine-wallet-browser-96c8236fd802f64fde07a1e46f8e9bab23545be4.tar
tangerine-wallet-browser-96c8236fd802f64fde07a1e46f8e9bab23545be4.tar.gz
tangerine-wallet-browser-96c8236fd802f64fde07a1e46f8e9bab23545be4.tar.bz2
tangerine-wallet-browser-96c8236fd802f64fde07a1e46f8e9bab23545be4.tar.lz
tangerine-wallet-browser-96c8236fd802f64fde07a1e46f8e9bab23545be4.tar.xz
tangerine-wallet-browser-96c8236fd802f64fde07a1e46f8e9bab23545be4.tar.zst
tangerine-wallet-browser-96c8236fd802f64fde07a1e46f8e9bab23545be4.zip
Merge pull request #1711 from MetaMask/NoPopularTOkens
Stop loading popular tokens by default
-rw-r--r--CHANGELOG.md1
-rw-r--r--ui/app/components/token-list.js4
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e8bdfa183..9943a8e15 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
## Current Master
+- Temporarily disabled loading popular tokens by default to improve performance.
- Remove SEND token button until a better token sending form can be built, due to some precision issues.
- Fix precision bug in token balances.
- Cache token symbol and precisions to reduce network load.
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