mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-27 01:08:00 +00:00
Ouch...
This commit is contained in:
@@ -82,7 +82,7 @@ export default class Chain {
|
||||
const { height, blockTimestamp } = node;
|
||||
|
||||
if (this.blockTimestamp) {
|
||||
this.blockTimes[height * BLOCK_TIME_HISTORY] = blockTimestamp - this.blockTimestamp;
|
||||
this.blockTimes[height % BLOCK_TIME_HISTORY] = blockTimestamp - this.blockTimestamp;
|
||||
}
|
||||
|
||||
this.height = height;
|
||||
|
||||
Reference in New Issue
Block a user