REF: remove obsolete dep; small fixes
This commit is contained in:
@@ -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(':', ' '),
|
||||
|
||||
@@ -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();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user