Merge pull request #5486 from mempool/natsoni/remove-da-offset
Remove difficulty adjustment block offset
This commit is contained in:
		
						commit
						5c839aced3
					
				| @ -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