Skip to content

Commit 96c8236

Browse files
authored
Merge pull request #1711 from MetaMask/NoPopularTOkens
Stop loading popular tokens by default
2 parents 6a502b9 + 7de8715 commit 96c8236

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Current Master
44

5+
- Temporarily disabled loading popular tokens by default to improve performance.
56
- Remove SEND token button until a better token sending form can be built, due to some precision issues.
67
- Fix precision bug in token balances.
78
- Cache token symbol and precisions to reduce network load.

ui/app/components/token-list.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ const h = require('react-hyperscript')
33
const inherits = require('util').inherits
44
const TokenTracker = require('eth-token-tracker')
55
const TokenCell = require('./token-cell.js')
6-
const contracts = require('eth-contract-metadata')
76
const normalizeAddress = require('eth-sig-util').normalize
87

98
const defaultTokens = []
9+
/*
10+
const contracts = require('eth-contract-metadata')
1011
for (const address in contracts) {
1112
const contract = contracts[address]
1213
if (contract.erc20) {
1314
contract.address = address
1415
defaultTokens.push(contract)
1516
}
1617
}
18+
*/
1719

1820
module.exports = TokenList
1921

0 commit comments

Comments
 (0)