From 3cb96b32a685ec4947856751af3cb8f9ddaa05e7 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Sun, 5 Mar 2023 22:03:03 -0600 Subject: [PATCH] fix rbf e2e test --- .../components/transaction/transaction.component.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts index f06ca1ac9..bd6db8634 100644 --- a/frontend/src/app/components/transaction/transaction.component.ts +++ b/frontend/src/app/components/transaction/transaction.component.ts @@ -387,12 +387,10 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy { this.error = new Error(); this.waitingForTransaction = false; } - if (!this.tx?.status?.confirmed) { - this.rbfTransaction = rbfTransaction; - this.replaced = true; - if (rbfTransaction && !this.tx) { - this.fetchCachedTx$.next(this.txId); - } + this.rbfTransaction = rbfTransaction; + this.replaced = true; + if (rbfTransaction && !this.tx) { + this.fetchCachedTx$.next(this.txId); } });