fix(ticker): Missing assignment added

This commit is contained in:
Damian Mee 2014-09-01 06:01:49 +02:00
parent 78fc0d4360
commit 5e77655ddd

View file

@ -127,12 +127,13 @@ exports.configure = function configure(config) {
} }
cachedConfig = config; cachedConfig = config;
deviceCurrency = config.exchanges.settings.currency;
// TICKER [required] configure (or load) // TICKER [required] configure (or load)
loadOrConfigPlugin( loadOrConfigPlugin(
tickerPlugin, tickerPlugin,
'ticker', 'ticker',
config.exchanges.settings.currency, // device currency deviceCurrency, // device currency
function onTickerChange(newTicker, currency) { function onTickerChange(newTicker, currency) {
tickerPlugin = newTicker; tickerPlugin = newTicker;
pollRate(); pollRate();