defaultExchangeRatesUpdate function

void defaultExchangeRatesUpdate(
  1. ExchangeRates rates
)

Calls updateBtcToUsdWithCoinbase() and updateCurrenciesToBtcWithQtrade.

Implementation

void defaultExchangeRatesUpdate(ExchangeRates rates) {
  updateBtcToCurrencyWithCoinbase(rates.preferences.localCurrency, rates);
  updateCruzToBtcWithQtrade(rates);
}