From 2915be8fd64def8da73341791c6897fa4ed509f7 Mon Sep 17 00:00:00 2001 From: natsoni Date: Wed, 10 Jul 2024 12:55:13 +0900 Subject: [PATCH] Possibly fix miner tag loading on tracked transactions --- .../src/app/components/transaction/transaction.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts index ee0980e7c..acc05a250 100644 --- a/frontend/src/app/components/transaction/transaction.component.ts +++ b/frontend/src/app/components/transaction/transaction.component.ts @@ -336,7 +336,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy { }); this.miningSubscription = this.fetchMiningInfo$.pipe( - filter((target) => target.txid === this.txId), + filter((target) => target.txid === this.txId && !this.pool), tap(() => { this.pool = null; }), @@ -614,6 +614,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy { block_hash: block.id, block_time: block.timestamp, }; + this.pool = block.extras.pool; this.txChanged$.next(true); this.stateService.markBlock$.next({ blockHeight: block.height }); if (this.tx.acceleration || (this.accelerationInfo && ['accelerating', 'completed_provisional', 'completed'].includes(this.accelerationInfo.status))) {