From 392bb330f793548560b0a3b15dae48466e68f031 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 21 Jun 2018 13:54:53 -0500 Subject: [PATCH] fix(log): fix the uncaught exception by calling info on log not lnd.log --- app/lnd/subscribe/transactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lnd/subscribe/transactions.js b/app/lnd/subscribe/transactions.js index ffea0c0f..f1b462a5 100644 --- a/app/lnd/subscribe/transactions.js +++ b/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'))