Skip to content

Commit bf5a6ee

Browse files
committed
fix for no price feed
1 parent bb6f560 commit bf5a6ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/PriceService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export default class PriceService {
180180
const unique = `eos:${x.contract}:${x.symbol}:${x.chainId}`.toLowerCase();
181181
if(!uniques.includes(unique)) return;
182182
const clone = JSON.parse(JSON.stringify(x))
183-
clone.price = parseFloat(parseFloat(EOS.price * x.price).toFixed(8));
183+
if(EOS.price) clone.price = parseFloat(parseFloat(EOS.price * x.price).toFixed(8));
184184
result[unique] = convertToMultiCurrency(clone);
185185
})
186186

0 commit comments

Comments
 (0)