Parse TXID, hash or address strings from search bar and allow searching for TXID:OUTPUT. (#578)

fixes #450
fixes #415
This commit is contained in:
softsimon
2021-07-06 19:43:18 +03:00
committed by GitHub
parent 8488d40bf7
commit 61975c3f63
5 changed files with 25 additions and 15 deletions

View File

@@ -117,7 +117,7 @@
<table class="table table-borderless smaller-text table-xs" style="margin: 0;">
<tbody>
<ng-template ngFor let-vout let-vindex="index" [ngForOf]="tx['@voutLimit'] ? tx.vout.slice(0, 10) : tx.vout" [ngForTrackBy]="trackByIndexFn">
<tr>
<tr [ngClass]="{'highlightIndex': outputIndex === vindex}">
<td>
<a *ngIf="vout.scriptpubkey_address; else scriptpubkey_type" [routerLink]="['/address/' | relativeUrl, vout.scriptpubkey_address]" title="{{ vout.scriptpubkey_address }}">
<span class="d-block d-lg-none">{{ vout.scriptpubkey_address | shortenString : 16 }}</span>