From d13c4f2a5d8067d5fbcc431458a216cbb76731d6 Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Sun, 19 Aug 2018 15:05:00 +0200 Subject: [PATCH] fix(lnd): only connect to single btcd host The lnd sync process doesn't currently handle multiple btcd connections well. Remove the alternate btcd hosts for testnet and mainnet. See https://github.com/lightningnetwork/lnd/issues/1752 --- app/lib/lnd/neutrino.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/lnd/neutrino.js b/app/lib/lnd/neutrino.js index fb5caced..cc8e1747 100644 --- a/app/lib/lnd/neutrino.js +++ b/app/lib/lnd/neutrino.js @@ -82,10 +82,10 @@ class Neutrino extends EventEmitter { if (this.lndConfig.network === 'mainnet') { neutrinoArgs.push('--neutrino.connect=mainnet1-btcd.zaphq.io') - neutrinoArgs.push('--neutrino.connect=mainnet2-btcd.zaphq.io') + // neutrinoArgs.push('--neutrino.connect=mainnet2-btcd.zaphq.io') } else { neutrinoArgs.push('--neutrino.connect=testnet1-btcd.zaphq.io') - neutrinoArgs.push('--neutrino.connect=testnet2-btcd.zaphq.io') + // neutrinoArgs.push('--neutrino.connect=testnet2-btcd.zaphq.io') } this.process = spawn(this.lndConfig.binaryPath, neutrinoArgs)