Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 03f3c0c

Browse files
committed
Activate autopilot only if no lnd args are provided
1 parent 7e26d7e commit 03f3c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/lnd-child-process.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ module.exports.startLndProcess = async function({
7676
]);
7777
} else {
7878
args = args.concat([
79-
'--autopilot.active',
8079
'--autopilot.private',
8180
'--autopilot.minconfs=0',
8281
'--autopilot.allocation=0.95',
@@ -85,6 +84,7 @@ module.exports.startLndProcess = async function({
8584
// set default production settings if no custom flags
8685
if (!isDev && !lndArgs.length) {
8786
args = args.concat([
87+
'--autopilot.active',
8888
'--bitcoin.testnet',
8989
'--bitcoin.node=neutrino',
9090
'--neutrino.connect=btcd-testnet.lightning.computer',

0 commit comments

Comments
 (0)