|
|
@ -127,7 +127,11 @@ const sendLndSynced = () => { |
|
|
|
|
|
|
|
// Starts the LND node
|
|
|
|
const startLnd = () => { |
|
|
|
const lndPath = path.join(__dirname, '..', 'resources', 'bin', plat, plat === 'win32' ? 'lnd.exe' : 'lnd') |
|
|
|
let lndPath |
|
|
|
process.env.NODE_ENV === 'development' ? |
|
|
|
lndPath = path.join(__dirname, '..', 'resources', 'bin', plat, plat === 'win32' ? 'lnd.exe' : 'lnd') |
|
|
|
: |
|
|
|
lndPath = path.join(__dirname, '..', 'bin', plat === 'win32' ? 'lnd.exe' : 'lnd') |
|
|
|
|
|
|
|
const neutrino = spawn(lndPath, |
|
|
|
[ |
|
|
|