defaultUpdateBtcToCurrency function

void defaultUpdateBtcToCurrency(
  1. ExchangeRates rates
)

Calls updateBtcToUsdWithCoinbase() with rate-limiting.

Implementation

void defaultUpdateBtcToCurrency(ExchangeRates rates) {
  updateBtcToCurrencyWithCoinbase(rates.preferences.localCurrency, rates,
      rateLimit: true);
}