UTXO spent tracking

fixes #1301
This commit is contained in:
softsimon
2022-03-06 18:27:13 +01:00
parent c23d3224d4
commit ec0f78b13a
7 changed files with 78 additions and 49 deletions

View File

@@ -185,15 +185,12 @@ export class TransactionComponent implements OnInit, OnDestroy {
this.error = undefined;
this.waitingForTransaction = false;
this.setMempoolBlocksSubscription();
this.websocketService.startTrackTransaction(tx.txid);
if (!tx.status.confirmed) {
this.websocketService.startTrackTransaction(tx.txid);
if (tx.firstSeen) {
this.transactionTime = tx.firstSeen;
} else {
this.getTransactionTime();
}
if (!tx.status.confirmed && tx.firstSeen) {
this.transactionTime = tx.firstSeen;
} else {
this.getTransactionTime();
}
if (this.tx.status.confirmed) {