fix coin install bugs

This commit is contained in:
Josh Harvey 2017-07-12 17:16:11 +03:00
parent 3e456246b0
commit 5cf4ee292a
3 changed files with 5 additions and 8 deletions

View file

@ -52,7 +52,7 @@ const CRYPTO_CURRENCIES = [
}
]
module.exports = {buildUrl, cryptoDir, cryptoConfigDir, cryptoCurrencies, getCryptoCurrency}
module.exports = {buildUrl, cryptoDir, cryptoCurrencies, getCryptoCurrency}
function getCryptoCurrency (cryptoCode) {
const cryptoCurrency = _.find(['cryptoCode', cryptoCode], CRYPTO_CURRENCIES)
@ -81,7 +81,3 @@ function cryptoDir (cryptoRec) {
return path.resolve(blockchainDir, code)
}
function cryptoConfigDir (cryptoRec) {
const configFile = cryptoRec.configFile
return path.resolve(cryptoDir(cryptoRec), configFile)
}