Skip to content

Commit 5ed17f1

Browse files
committed
Remove eos from eth tokens.
1 parent 6bce509 commit 5ed17f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

service/lib/ethplorer.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,6 +2541,10 @@ public function getTokenPrice30d($address){
25412541
public function getTokenPrice($address, $updateCache = FALSE){
25422542
// evxProfiler::checkpoint('getTokenPrice', 'START', 'address=' . $address . ', updateCache=' . ($updateCache ? 'TRUE' : 'FALSE'));
25432543
$result = FALSE;
2544+
// exclude eos
2545+
if($address == '0x86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0'){
2546+
return $result;
2547+
}
25442548
if(!$updateCache && isset($this->aPrices[$address])){
25452549
return $this->aPrices[$address];
25462550
}

0 commit comments

Comments
 (0)