Skip to content

Commit 24f4b13

Browse files
committed
Remove eos from eth tokens.
1 parent 5175cbb commit 24f4b13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

service/lib/ethplorer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,6 +1715,7 @@ public function getTopTokens($limit = 10, $period = 30, $updateCache = FALSE, $s
17151715
* @return array
17161716
*/
17171717
public function getTokensTop($limit = 50, $criteria = 'trade', $updateCache = false){
1718+
$aSkippedTokens = array('0x86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0');
17181719
$topLimit = 100;
17191720
if($criteria != 'count'){
17201721
$topLimit++;
@@ -1762,6 +1763,7 @@ public function getTokensTop($limit = 50, $criteria = 'trade', $updateCache = fa
17621763

17631764
foreach($aTokens as $aToken){
17641765
$address = $aToken['address'];
1766+
if(in_array($address, $aSkippedTokens)) continue;
17651767
$curHour = (int)date('H');
17661768

17671769
$isEth = false;

0 commit comments

Comments
 (0)