1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00

Stop loading popular tokens by default

Improves performance when loading the token tab.
This commit is contained in:
Dan Finlay 2017-06-30 10:21:47 -07:00
parent c9dd8a9cfd
commit 8abd592034
2 changed files with 5 additions and 1 deletions

View File

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

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