Don't round signet difficulty in table and chart
This commit is contained in:
@@ -335,6 +335,9 @@ export class HashrateChartComponent implements OnInit {
|
||||
axisLabel: {
|
||||
color: 'rgb(110, 112, 121)',
|
||||
formatter: (val) => {
|
||||
if (this.stateService.network === 'signet') {
|
||||
return val;
|
||||
}
|
||||
const selectedPowerOfTen: any = selectPowerOfTen(val);
|
||||
const newVal = Math.round(val / selectedPowerOfTen.divider);
|
||||
return `${newVal} ${selectedPowerOfTen.unit}`;
|
||||
|
||||
Reference in New Issue
Block a user