Merge pull request #2260 from mempool/nymkappa/bugfix/missing-last-data-charts
Don't insert stats in the future
This commit is contained in:
commit
bd822998a5
@ -33,7 +33,6 @@ class LightningStatsUpdater {
|
||||
private async $logStatsDaily(): Promise<void> {
|
||||
const date = new Date();
|
||||
this.setDateMidnight(date);
|
||||
date.setUTCHours(24);
|
||||
|
||||
logger.info(`Updating latest networks stats`);
|
||||
const networkGraph = await lightningApi.$getNetworkGraph();
|
||||
|
Loading…
x
Reference in New Issue
Block a user