Browse Source

fix(auth-macaroon): Remove 'no-macaroon' flag for lnd call

renovate/lint-staged-8.x
João Almeida 7 years ago
parent
commit
dd40200933
  1. 4
      app/lnd/subscribe/transactions.js
  2. 1
      app/main.dev.js

4
app/lnd/subscribe/transactions.js

@ -1,7 +1,7 @@
/* eslint-disable */ /* eslint-disable */
export default function subscribeToTransactions(mainWindow, lnd, metadata) { export default function subscribeToTransactions(mainWindow, lnd, meta) {
const call = lnd.subscribeTransactions({}, metadata) const call = lnd.subscribeTransactions({}, meta)
call.on('data', transaction => { call.on('data', transaction => {
console.log('TRANSACTION: ', transaction) console.log('TRANSACTION: ', transaction)
mainWindow.send('newTransaction', { transaction }) mainWindow.send('newTransaction', { transaction })

1
app/main.dev.js

@ -169,7 +169,6 @@ export const startLnd = () => {
'--neutrino.connect=faucet.lightning.community:18333', '--neutrino.connect=faucet.lightning.community:18333',
'--autopilot.active', '--autopilot.active',
'--debuglevel=debug', '--debuglevel=debug',
'--no-macaroons',
'--noencryptwallet' '--noencryptwallet'
] ]
) )

Loading…
Cancel
Save