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