Merge pull request #6122 from mempool/natsoni/fix-bowtie-tooltip-electrum

Fix bowtie tooltip output on electrum backend
This commit is contained in:
mononaut 2025-11-21 17:09:12 +08:00 committed by GitHub
commit 927864d2fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@
</ng-container>
</span>
<span *ngSwitchCase="'output'">
<ng-container *ngIf="line.blockHeight && line?.spent">
<ng-container *ngIf="(stateService.backend$ | async) === 'esplora' && line.blockHeight && line?.spent">
<ng-container *ngIf="line?.status?.block_height; else noBlockHeight">
<ng-container *ngTemplateOutlet="nBlocksLater; context:{n: line?.status?.block_height - line.blockHeight, connector: false}"></ng-container>
</ng-container>

View file

@ -54,7 +54,7 @@ export class TxBowtieGraphTooltipComponent implements OnChanges {
constructor(
private priceService: PriceService,
private stateService: StateService,
public stateService: StateService,
private apiService: ApiService,
) {}