Merge pull request #5262 from mempool/simon/accelerator-default-hide

Only default show accelerator on mempool space
This commit is contained in:
softsimon authored and GitHub committed 2024-07-03 17:31:26 +09:00
commit d0358f1551
1 file changed
+1 -1
@@ -177,7 +177,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
const urlParams = new URLSearchParams(window.location.search);
this.forceAccelerationSummary = !!urlParams.get('cash_request_id');
this.hideAccelerationSummary = this.storageService.getValue('hide-accelerator-pref') == 'true';
this.hideAccelerationSummary = this.stateService.isMempoolSpaceBuild ? this.storageService.getValue('hide-accelerator-pref') == 'true' : true;
if (!this.stateService.isLiquid()) {
this.miningService.getMiningStats('1w').subscribe(stats => {