mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-10-25 04:55:04 +00:00
Ouch...
This commit is contained in:
1 parent
5c8a159588
commit
4f3e72d506
1 file changed
+1
-1
@@ -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