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

Commit eaf62c7

Browse files
committed
Simplifying rpc config
1 parent 035bd39 commit eaf62c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/lnd-child-process.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ module.exports.startLndProcess = async function({
6262
const args = [
6363
'--bitcoin.active',
6464
isDev ? '--bitcoin.simnet' : '--bitcoin.testnet',
65-
isDev || rpcUser ? `--btcd.rpcuser=${rpcUser || 'kek'}` : '',
66-
isDev || rpcPass ? `--btcd.rpcpass=${rpcPass || 'kek'}` : '',
65+
isDev || rpc ? `--btcd.rpcuser=${rpcUser || 'kek'}` : '',
66+
isDev || rpc ? `--btcd.rpcpass=${rpcPass || 'kek'}` : '',
6767
isDev || rpc ? '--bitcoin.node=btcd' : '--bitcoin.node=neutrino',
6868
isDev || rpc ? '' : `--configfile=${path.join(lndSettingsDir, 'lnd.conf')}`,
6969
isDev || rpc ? '' : '--neutrino.connect=btcd0.lightning.engineering',

0 commit comments

Comments
 (0)