mirror of
https://github.com/mempool/mempool.git
synced 2025-03-15 12:20:28 +01:00
Possibly fix miner tag loading on tracked transactions
This commit is contained in:
parent
a530b70f9f
commit
2915be8fd6
1 changed files with 2 additions and 1 deletions
|
@ -336,7 +336,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.miningSubscription = this.fetchMiningInfo$.pipe(
|
this.miningSubscription = this.fetchMiningInfo$.pipe(
|
||||||
filter((target) => target.txid === this.txId),
|
filter((target) => target.txid === this.txId && !this.pool),
|
||||||
tap(() => {
|
tap(() => {
|
||||||
this.pool = null;
|
this.pool = null;
|
||||||
}),
|
}),
|
||||||
|
@ -614,6 +614,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
block_hash: block.id,
|
block_hash: block.id,
|
||||||
block_time: block.timestamp,
|
block_time: block.timestamp,
|
||||||
};
|
};
|
||||||
|
this.pool = block.extras.pool;
|
||||||
this.txChanged$.next(true);
|
this.txChanged$.next(true);
|
||||||
this.stateService.markBlock$.next({ blockHeight: block.height });
|
this.stateService.markBlock$.next({ blockHeight: block.height });
|
||||||
if (this.tx.acceleration || (this.accelerationInfo && ['accelerating', 'completed_provisional', 'completed'].includes(this.accelerationInfo.status))) {
|
if (this.tx.acceleration || (this.accelerationInfo && ['accelerating', 'completed_provisional', 'completed'].includes(this.accelerationInfo.status))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue