Update dependencies (#121)
This commit is contained in:
@@ -59,7 +59,7 @@ const important_channels = {
|
||||
|
||||
let lightning = require('../lightning');
|
||||
|
||||
lightning.listChannels({}, function(err, response) {
|
||||
lightning.listChannels({}, function (err, response) {
|
||||
console.log();
|
||||
if (err) {
|
||||
console.error('lnd failure:', err);
|
||||
|
||||
@@ -38,7 +38,7 @@ let lightning = require('../lightning');
|
||||
|
||||
let payment = new Paym(redis, bitcoinclient, lightning);
|
||||
payment.setInvoice(lockedPayment.pay_req);
|
||||
if (daysPassed > (1 / 24) && daysPassed <= 1) {
|
||||
if (daysPassed > 1 / 24 && daysPassed <= 1) {
|
||||
// if (!await payment.isExpired()) {
|
||||
let sendResult;
|
||||
console.log('attempting to pay to route');
|
||||
|
||||
@@ -5,7 +5,7 @@ const config = require('../config');
|
||||
var Redis = require('ioredis');
|
||||
var redis = new Redis(config.redis);
|
||||
|
||||
redis.info(function(err, info) {
|
||||
redis.info(function (err, info) {
|
||||
if (err || !info) {
|
||||
console.error('redis failure');
|
||||
process.exit(5);
|
||||
|
||||
Reference in New Issue
Block a user