improve config loading; remove debug

This commit is contained in:
Josh Harvey 2017-04-25 02:25:32 +03:00
parent 5f0b70ca42
commit 614c64646a
15 changed files with 198 additions and 193 deletions

View file

@ -30,7 +30,6 @@ function fetchWallet (settings, cryptoCode) {
.then(hex => {
const masterSeed = Buffer.from(hex.trim(), 'hex')
const plugin = configManager.cryptoScoped(cryptoCode, settings.config).wallet
console.log('DEBUG555: %s', plugin)
const wallet = ph.load(ph.WALLET, plugin)
const account = settings.accounts[plugin]