REF: remove obsolete dep; small fixes

This commit is contained in:
Overtorment committed 2021-09-07 22:00:33 +01:00
1 parent 4e8ce5e46f
commit d3df6aab05
5 files changed
+437 -431

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ lightning.listChannels({}, function (err, response) {
}
let lightningListChannels = response;
for (let channel of lightningListChannels.channels) {
if (channel.capacity < 0.05 / 100000000) {
if (channel.capacity <= 1000000) {
console.log(
'lncli closechannel',
channel.channel_point.replace(':', ' '),
+1
View File
@@ -54,5 +54,6 @@ let lightning = require('../lightning');
}
console.log('\ncalculatedBalance\n================\n', calculatedBalance, await U.getCalculatedBalance());
console.log('txs:', txs.length, 'userinvoices:', userinvoices.length);
process.exit();
})();