FIX: minor improv

This commit is contained in:
Overtorment
2021-04-16 22:06:03 +01:00
parent 68fd866894
commit 26692d6c92
2 changed files with 3 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ if (config.bitcoind) {
console.error('bitcoind is not caught up');
process.exit(1);
}
console.log('bitcoind getblockchaininfo:', info);
} else {
console.error('bitcoind failure:', err, info);
process.exit(2);
@@ -41,7 +42,7 @@ lightning.getInfo({}, function (err, info) {
process.exit(3);
}
if (info) {
console.info(info);
console.info('lnd getinfo:', info);
if (!info.synced_to_chain && !config.forceStart) {
console.error('lnd not synced');
// process.exit(4);