[accelerator] disable for txs not in mempool

This commit is contained in:
Mononaut 2024-07-02 11:57:07 +00:00
parent 8028d80ab8
commit 3e07d6b684
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E
2 changed files with 4 additions and 0 deletions

View File

@ -757,6 +757,8 @@ export class TrackerComponent implements OnInit, OnDestroy {
get showAccelerationSummary(): boolean {
return (
this.tx
&& !this.replaced
&& !this.isCached
&& !this.tx.acceleration
&& this.acceleratorAvailable
&& this.eligibleForAcceleration

View File

@ -985,6 +985,8 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
get showAccelerationSummary(): boolean {
return (
this.tx
&& !this.replaced
&& !this.isCached
&& !this.tx.acceleration
&& this.acceleratorAvailable
&& this.eligibleForAcceleration