Browse Source

Merge pull request #690 from mrfelton/fix/lnd-single-btcd-host

fix(lnd): only connect to single btcd host
renovate/lint-staged-8.x
JimmyMow 7 years ago
committed by GitHub
parent
commit
bcf7769923
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/lib/lnd/neutrino.js

4
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)

Loading…
Cancel
Save