Acceleration flag check on block view

This commit is contained in:
softsimon committed 2024-01-02 10:35:52 +07:00
1 parent 9b6e60bfba
commit 09041c50ef
2 files changed
+2 -2

No files matched your search

@@ -134,7 +134,7 @@ export class BlockPreviewComponent implements OnInit, OnDestroy {
return of(transactions);
})
),
block.height > 819500 ? this.apiService.getAccelerationHistory$({ blockHash: block.id }) : of([])
this.stateService.env.ACCELERATOR === true && block.height > 819500 ? this.apiService.getAccelerationHistory$({ blockHash: block.id }) : of([])
]);
}
),