Remove difficulty epoch block offset
This commit is contained in:
parent
3bea10ea35
commit
0a5a2c3c7e
@ -77,7 +77,7 @@ export class DifficultyMiningComponent implements OnInit {
|
|||||||
base: `${da.progressPercent.toFixed(2)}%`,
|
base: `${da.progressPercent.toFixed(2)}%`,
|
||||||
change: da.difficultyChange,
|
change: da.difficultyChange,
|
||||||
progress: da.progressPercent,
|
progress: da.progressPercent,
|
||||||
remainingBlocks: da.remainingBlocks - 1,
|
remainingBlocks: da.remainingBlocks,
|
||||||
colorAdjustments,
|
colorAdjustments,
|
||||||
colorPreviousAdjustments,
|
colorPreviousAdjustments,
|
||||||
newDifficultyHeight: da.nextRetargetHeight,
|
newDifficultyHeight: da.nextRetargetHeight,
|
||||||
|
@ -153,8 +153,8 @@ export class DifficultyComponent implements OnInit {
|
|||||||
base: `${da.progressPercent.toFixed(2)}%`,
|
base: `${da.progressPercent.toFixed(2)}%`,
|
||||||
change: da.difficultyChange,
|
change: da.difficultyChange,
|
||||||
progress: da.progressPercent,
|
progress: da.progressPercent,
|
||||||
minedBlocks: this.currentIndex + 1,
|
minedBlocks: this.currentIndex,
|
||||||
remainingBlocks: da.remainingBlocks - 1,
|
remainingBlocks: da.remainingBlocks,
|
||||||
expectedBlocks: Math.floor(da.expectedBlocks),
|
expectedBlocks: Math.floor(da.expectedBlocks),
|
||||||
colorAdjustments,
|
colorAdjustments,
|
||||||
colorPreviousAdjustments,
|
colorPreviousAdjustments,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user