fixes
This commit is contained in:
parent
ee0eecbd30
commit
48a9f9d204
14 changed files with 186 additions and 130 deletions
|
|
@ -6,10 +6,10 @@ const FETCH_INTERVAL = 10000
|
|||
function getRates (fiatCode, cryptoCode) {
|
||||
return Promise.resolve()
|
||||
.then(() => {
|
||||
const settings = settingsLoader.settings
|
||||
const settings = settingsLoader.settings()
|
||||
const config = settings.config
|
||||
const plugin = configManager.cryptoScoped(cryptoCode, config).cryptoServices.ticker
|
||||
const account = settings.accounts.plugin
|
||||
const account = settings.accounts[plugin]
|
||||
const ticker = require('lamassu-' + plugin)
|
||||
|
||||
return ticker.ticker(account, fiatCode, cryptoCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue