fix: wallet config path

This commit is contained in:
Sérgio Salgado 2021-05-17 02:38:36 +01:00 committed by Josh Harvey
parent bb8deda6e3
commit c0fff41368
5 changed files with 10 additions and 5 deletions

View file

@ -1,12 +1,13 @@
const _ = require('lodash/fp')
const jsonRpc = require('../../common/json-rpc')
const blockchainUtils = require('../../../coin-utils')
const BN = require('../../../bn')
const E = require('../../../error')
const { utils } = require('lamassu-coins')
const cryptoRec = utils.getCryptoCurrency('BCH')
const configPath = utils.configPath(cryptoRec)
const configPath = utils.configPath(cryptoRec, blockchainUtils.blockchainDir())
const unitScale = cryptoRec.unitScale
function rpcConfig () {