fix coin install bugs
This commit is contained in:
parent
3e456246b0
commit
5cf4ee292a
3 changed files with 5 additions and 8 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue