fix: forex on EUR default exchanges

This commit is contained in:
Rafael Taranto 2025-05-06 09:45:39 +01:00
parent 8c6c3b258a
commit 297a3d76fb
2 changed files with 7 additions and 7 deletions

View file

@ -30,7 +30,7 @@ function ticker (fiatCode, cryptoCode, tickerName) {
return getCurrencyRates(ticker, fiatCode, cryptoCode)
}
return getRate(RETRIES, fiatCode)
return getRate(RETRIES, tickerName, defaultFiatMarket(tickerName))
.then(({ fxRate }) => {
try {
return getCurrencyRates(ticker, defaultFiatMarket(tickerName), cryptoCode)