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

Only default show accelerator on mempool space
This commit is contained in:
softsimon 2024-07-03 17:31:26 +09:00 committed by GitHub
commit d0358f1551
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 => {