fix rbf e2e test

This commit is contained in:
Mononaut 2023-03-05 22:03:03 -06:00
parent 8d57aa1f06
commit 3cb96b32a6
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

View File

@ -387,12 +387,10 @@ 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);
}
} }
}); });