[accelerator] hide pizza tracker CTA when irrelevant

This commit is contained in:
Mononaut 2024-06-29 04:11:02 +00:00
parent 193c41cb81
commit 48bdae4e78
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

View File

@ -381,9 +381,11 @@ export class TrackerComponent implements OnInit, OnDestroy {
this.trackerStage = 'replaced';
}
this.showAccelerationSummary = true;
if (txPosition.position?.block > 0 && this.tx.weight < 4000) {
this.accelerationEligible = true;
if (!this.mempoolPosition.accelerated) {
this.showAccelerationSummary = true;
if (txPosition.position?.block > 0 && this.tx.weight < 4000) {
this.accelerationEligible = true;
}
}
}
} else {