Skip to content

Commit

Permalink
Merge pull request #291 from poanetwork/fix-fiat-value-rsk
Browse files Browse the repository at this point in the history
Fix fiat value for RSK
  • Loading branch information
vbaranov committed Jun 12, 2019
2 parents e1fa42b + 1478187 commit 7576731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/controllers/currency.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class CurrencyController {
currentCurrency = this.getCurrentCurrency()
currentCoin = this.getCurrentCoin()
let conversionRate, conversionDate
if (currentCoin === 'poa' || currentCoin === 'etc') {
if (currentCoin === 'poa' || currentCoin === 'etc' || currentCoin === 'rbtc') {
const apiLink = `https://min-api.cryptocompare.com/data/price?fsym=${currentCoin.toUpperCase()}&tsyms=${currentCurrency.toUpperCase()}`
const response = await fetch(apiLink)
const parsedResponse = await response.json()
Expand Down

0 comments on commit 7576731

Please sign in to comment.