Browse Source

fix(log): fix the uncaught exception by calling info on log not lnd.log

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
392bb330f7
  1. 2
      app/lnd/subscribe/transactions.js

2
app/lnd/subscribe/transactions.js

@ -1,7 +1,7 @@
export default function subscribeToTransactions(mainWindow, lnd, log) {
const call = lnd.subscribeTransactions({})
call.on('data', transaction => {
lnd.log.info('TRANSACTION:', transaction)
log.info('TRANSACTION:', transaction)
mainWindow.send('newTransaction', { transaction })
})
call.on('end', () => log.info('end'))

Loading…
Cancel
Save