1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Merge pull request #1711 from MetaMask/NoPopularTOkens

Stop loading popular tokens by default
This commit is contained in:
Thomas Huang 2017-06-30 11:43:46 -07:00 committed by GitHub
commit 96c8236fd8
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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