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