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 */
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 })

1
app/main.dev.js

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

Loading…
Cancel
Save