mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Merge pull request #1711 from MetaMask/NoPopularTOkens
Stop loading popular tokens by default
This commit is contained in:
commit
96c8236fd8
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user