fix(ticker): Missing assignment added
This commit is contained in:
parent
78fc0d4360
commit
5e77655ddd
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue