mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Support utxo bubble graph on electrum backends
This commit is contained in:
parent
03e41d7a19
commit
086573b119
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@
|
|||
</div>
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="(stateService.backend$ | async) === 'esplora' && address && utxos && utxos.length > 2">
|
||||
<ng-container *ngIf="address && utxos && utxos.length > 2">
|
||||
<br>
|
||||
<div class="title-tx">
|
||||
<h2 class="text-left" i18n="address.unspent-outputs">Unspent Outputs</h2>
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ export class AddressComponent implements OnInit, OnDestroy {
|
|||
address.is_pubkey
|
||||
? this.electrsApiService.getScriptHashTransactions$((address.address.length === 66 ? '21' : '41') + address.address + 'ac')
|
||||
: this.electrsApiService.getAddressTransactions$(address.address),
|
||||
(utxoCount > 2 && utxoCount <= 500 ? (address.is_pubkey
|
||||
((utxoCount > 2 && utxoCount <= 500) || this.address.electrum ? (address.is_pubkey
|
||||
? this.electrsApiService.getScriptHashUtxos$((address.address.length === 66 ? '21' : '41') + address.address + 'ac')
|
||||
: this.electrsApiService.getAddressUtxos$(address.address)) : of(null)).pipe(
|
||||
catchError(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue