From dd402009336ba78bab3b7fd862ea5c5217618f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Almeida?= Date: Sun, 17 Dec 2017 14:40:49 -0500 Subject: [PATCH] fix(auth-macaroon): Remove 'no-macaroon' flag for lnd call --- app/lnd/subscribe/transactions.js | 4 ++-- app/main.dev.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/lnd/subscribe/transactions.js b/app/lnd/subscribe/transactions.js index f1f8b9d7..de7bfb4b 100644 --- a/app/lnd/subscribe/transactions.js +++ b/app/lnd/subscribe/transactions.js @@ -1,7 +1,7 @@ /* eslint-disable */ -export default function subscribeToTransactions(mainWindow, lnd, metadata) { - const call = lnd.subscribeTransactions({}, metadata) +export default function subscribeToTransactions(mainWindow, lnd, meta) { + const call = lnd.subscribeTransactions({}, meta) call.on('data', transaction => { console.log('TRANSACTION: ', transaction) mainWindow.send('newTransaction', { transaction }) diff --git a/app/main.dev.js b/app/main.dev.js index dfc91720..94649a1d 100644 --- a/app/main.dev.js +++ b/app/main.dev.js @@ -169,7 +169,6 @@ export const startLnd = () => { '--neutrino.connect=faucet.lightning.community:18333', '--autopilot.active', '--debuglevel=debug', - '--no-macaroons', '--noencryptwallet' ] )