fix: make LTC update dependent

This commit is contained in:
Neal 2022-05-16 19:03:08 -04:00
parent 66050e8ba0
commit 0e4df7091d

View file

@ -41,6 +41,8 @@ const BINARIES = {
dir: 'dashcore-0.17.0/bin' dir: 'dashcore-0.17.0/bin'
}, },
LTC: { LTC: {
defaultUrl: 'https://download.litecoin.org/litecoin-0.18.1/linux/litecoin-0.18.1-x86_64-linux-gnu.tar.gz',
defaultDir: 'litecoin-0.18.1/bin',
url: 'https://download.litecoin.org/litecoin-0.21.2/linux/litecoin-0.21.2-x86_64-linux-gnu.tar.gz', url: 'https://download.litecoin.org/litecoin-0.21.2/linux/litecoin-0.21.2-x86_64-linux-gnu.tar.gz',
dir: 'litecoin-0.21.2/bin' dir: 'litecoin-0.21.2/bin'
}, },
@ -56,7 +58,7 @@ const BINARIES = {
} }
} }
const coinsUpdateDependent = ['BTC'] const coinsUpdateDependent = ['BTC', 'LTC']
function firewall (ports) { function firewall (ports) {
if (!ports || ports.length === 0) throw new Error('No ports supplied') if (!ports || ports.length === 0) throw new Error('No ports supplied')