Update dependencies (#121)

This commit is contained in:
Aaron Dewes
2021-01-04 13:49:42 +01:00
committed by GitHub
parent b8cd8d05b0
commit cf40d77b01
16 changed files with 10738 additions and 4687 deletions

View File

@@ -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);

View File

@@ -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');

View File

@@ -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);