mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 21:32:55 +01:00
Fix lastHistoricalRun variable to be in seconds
This commit is contained in:
parent
a5099fed75
commit
8e158e1786
@ -320,7 +320,7 @@ class PriceUpdater {
|
||||
await this.$insertMissingRecentPrices('hour');
|
||||
|
||||
this.historyInserted = true;
|
||||
this.lastHistoricalRun = new Date().getTime();
|
||||
this.lastHistoricalRun = Math.round(new Date().getTime() / 1000);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user