mirror of
https://github.com/mempool/mempool.git
synced 2026-08-19 13:18:06 +02:00
Acceleration flag check on block view
This commit is contained in:
parent
9b6e60bfba
commit
09041c50ef
2 changed files with 2 additions and 2 deletions
|
|
@ -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([])
|
||||
]);
|
||||
}
|
||||
),
|
||||
|
|
|
|||
|
|
@ -329,7 +329,7 @@ export class BlockComponent implements OnInit, OnDestroy {
|
|||
return of(null);
|
||||
})
|
||||
),
|
||||
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([])
|
||||
]);
|
||||
})
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue