Commit 03f3c0c0 authored by Tankred Hase's avatar Tankred Hase

Activate autopilot only if no lnd args are provided

parent 7e26d7e8
...@@ -76,7 +76,6 @@ module.exports.startLndProcess = async function({ ...@@ -76,7 +76,6 @@ module.exports.startLndProcess = async function({
]); ]);
} else { } else {
args = args.concat([ args = args.concat([
'--autopilot.active',
'--autopilot.private', '--autopilot.private',
'--autopilot.minconfs=0', '--autopilot.minconfs=0',
'--autopilot.allocation=0.95', '--autopilot.allocation=0.95',
...@@ -85,6 +84,7 @@ module.exports.startLndProcess = async function({ ...@@ -85,6 +84,7 @@ module.exports.startLndProcess = async function({
// set default production settings if no custom flags // set default production settings if no custom flags
if (!isDev && !lndArgs.length) { if (!isDev && !lndArgs.length) {
args = args.concat([ args = args.concat([
'--autopilot.active',
'--bitcoin.testnet', '--bitcoin.testnet',
'--bitcoin.node=neutrino', '--bitcoin.node=neutrino',
'--neutrino.connect=btcd-testnet.lightning.computer', '--neutrino.connect=btcd-testnet.lightning.computer',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment