This commit is contained in:
Josh Harvey 2016-12-02 16:37:55 +02:00
parent 1fe550fe1e
commit eea230de60
10 changed files with 42 additions and 47 deletions

View file

@ -8,7 +8,7 @@ function fetchWallet (cryptoCode) {
return Promise.resolve()
.then(() => {
const settings = settingsLoader.settings()
const plugin = configManager.cryptoScoped(cryptoCode, settings.config).cryptoServices.wallet
const plugin = configManager.cryptoScoped(cryptoCode, settings.config).wallet
const account = settings.accounts[plugin]
const wallet = require('lamassu-' + plugin)