From 3e07d6b6847d7389a94c00f16bfaf0c3d79d6262 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Tue, 2 Jul 2024 11:57:07 +0000 Subject: [PATCH] [accelerator] disable for txs not in mempool --- frontend/src/app/components/tracker/tracker.component.ts | 2 ++ .../src/app/components/transaction/transaction.component.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/frontend/src/app/components/tracker/tracker.component.ts b/frontend/src/app/components/tracker/tracker.component.ts index 64991b8ed..68ce46a83 100644 --- a/frontend/src/app/components/tracker/tracker.component.ts +++ b/frontend/src/app/components/tracker/tracker.component.ts @@ -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 diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts index 93c91ef4b..7b401f8da 100644 --- a/frontend/src/app/components/transaction/transaction.component.ts +++ b/frontend/src/app/components/transaction/transaction.component.ts @@ -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