Error typos

This commit is contained in:
Agustin Kassis 2020-04-01 20:46:48 -03:00
parent 9be413a549
commit 7a94225d87

View File

@ -19,7 +19,7 @@ function updateLightning() {
lightning.listChannels({}, function(err, response) { lightning.listChannels({}, function(err, response) {
if (err) { if (err) {
console.error('lnd 2 failure:', err); console.error('lnd failure:', err);
return; return;
} }
lightningListChannels = response; lightningListChannels = response;
@ -75,7 +75,7 @@ const pubkey2name = {
router.get('/', function(req, res) { router.get('/', function(req, res) {
logger.log('/', [req.id]); logger.log('/', [req.id]);
if (!lightningGetInfo) { if (!lightningGetInfo) {
console.error('lnd failurefff'); console.error('lnd failure');
process.exit(3); process.exit(3);
} }
res.setHeader('Content-Type', 'text/html'); res.setHeader('Content-Type', 'text/html');