fix rbf e2e test

This commit is contained in:
Mononaut 2023-03-05 22:03:03 -06:00
parent 03c6728dfb
commit 19d3b0a4dd

View File

@ -387,13 +387,11 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
this.error = new Error(); this.error = new Error();
this.waitingForTransaction = false; this.waitingForTransaction = false;
} }
if (!this.tx?.status?.confirmed) {
this.rbfTransaction = rbfTransaction; this.rbfTransaction = rbfTransaction;
this.replaced = true; this.replaced = true;
if (rbfTransaction && !this.tx) { if (rbfTransaction && !this.tx) {
this.fetchCachedTx$.next(this.txId); this.fetchCachedTx$.next(this.txId);
} }
}
}); });
this.txRbfInfoSubscription = this.stateService.txRbfInfo$.subscribe((rbfInfo) => { this.txRbfInfoSubscription = this.stateService.txRbfInfo$.subscribe((rbfInfo) => {