Disable difficulty adjustment table for now until loadMore is implemented
This commit is contained in:
parent
4060c05015
commit
a214c5ca20
@ -162,7 +162,7 @@ class Mining {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add genesis block manually
|
// Add genesis block manually
|
||||||
if (!indexedTimestamp.includes(genesisTimestamp)) {
|
if (toTimestamp <= genesisTimestamp && !indexedTimestamp.includes(genesisTimestamp)) {
|
||||||
hashrates.push({
|
hashrates.push({
|
||||||
hashrateTimestamp: genesisTimestamp,
|
hashrateTimestamp: genesisTimestamp,
|
||||||
avgHashrate: await bitcoinClient.getNetworkHashPs(1, 1),
|
avgHashrate: await bitcoinClient.getNetworkHashPs(1, 1),
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<div class="spinner-border text-light"></div>
|
<div class="spinner-border text-light"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-3" *ngIf="!widget">
|
<!-- <div class="mt-3" *ngIf="!widget">
|
||||||
<table class="table table-borderless table-sm text-center">
|
<table class="table table-borderless table-sm text-center">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -53,6 +53,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -172,7 +172,7 @@ export class HashrateChartComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: 'time',
|
type: 'time',
|
||||||
splitNumber: this.isMobile() ? 5 : 10,
|
splitNumber: (this.isMobile() || this.widget) ? 5 : 10,
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
data: [
|
data: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user