WIP
This commit is contained in:
parent
1fe550fe1e
commit
eea230de60
10 changed files with 42 additions and 47 deletions
|
|
@ -12,7 +12,7 @@ function fetchExchange (cryptoCode) {
|
|||
return Promise.resolve()
|
||||
.then(() => {
|
||||
const settings = settingsLoader.settings()
|
||||
const plugin = configManager.cryptoScoped(cryptoCode, settings.config).cryptoServices.exchange
|
||||
const plugin = configManager.cryptoScoped(cryptoCode, settings.config).exchange
|
||||
if (!plugin) throw noExchangeError(cryptoCode)
|
||||
const account = settings.accounts[plugin]
|
||||
const exchange = require('lamassu-' + plugin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue