chore: integrate new admin with l-s
This commit is contained in:
parent
6b3db134e7
commit
bf8f1d991c
72 changed files with 1493 additions and 1611 deletions
|
|
@ -1,8 +1,8 @@
|
|||
const configManager = require('./config-manager')
|
||||
const configManager = require('./new-config-manager')
|
||||
const ph = require('./plugin-helper')
|
||||
|
||||
function lookupExchange (settings, cryptoCode) {
|
||||
const exchange = configManager.cryptoScoped(cryptoCode, settings.config).exchange
|
||||
const exchange = configManager.getWalletSettings(cryptoCode, settings.config).exchange
|
||||
if (exchange === 'no-exchange') return null
|
||||
return exchange
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue