Backfill node_stats

This commit is contained in:
softsimon
2022-07-09 17:45:34 +02:00
parent 8c94ef4a03
commit 665d85204b
2 changed files with 77 additions and 11 deletions

View File

@@ -44,7 +44,9 @@ class NodeSyncService {
await this.$lookUpCreationDateFromChain();
await this.$updateNodeFirstSeen();
await this.$scanForClosedChannels();
await this.$runClosedChannelsForensics();
if (config.MEMPOOL.BACKEND === 'esplora') {
await this.$runClosedChannelsForensics();
}
} catch (e) {
logger.err('$updateNodes() error: ' + (e instanceof Error ? e.message : e));