Skip to content

Commit

Permalink
Merge pull request #468 from openchia/fix/spacescan-links
Browse files Browse the repository at this point in the history
fix: spacescan links
  • Loading branch information
djerfy authored Aug 16, 2023
2 parents 30321b1 + dd5b1ba commit 0dc8fa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/app/explorer/dashboard/dashboard.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ <h3 class="display-3" i18n>Blocks Found</h3>
</thead>
<tbody *ngIf="(blocks$ | async) as blocks;">
<tr *ngFor="let block of blocks; let i = index">
<td><a href="https://www.spacescan.io/xch/block/height/{{ block.farmed_height }}" target="_blank">{{
<td><a href="https://www.spacescan.io/block/{{ block.farmed_height }}" target="_blank">{{
block.farmed_height }}</a>
</td>
<td>{{ block.timestamp * 1000 | date:"medium" }}</td>
Expand Down Expand Up @@ -306,7 +306,7 @@ <h3 class="display-3" i18n>Rewards</h3>
<td>{{ payout.datetime | date:"medium" }}</td>
<td>
<span *ngFor="let block of payout.blocks; let last = last">
<a href="https://www.spacescan.io/xch/block/height/{{ block.farmed_height }}"
<a href="https://www.spacescan.io/block/{{ block.farmed_height }}"
target="_blank">{{ block.farmed_height }}</a>
<span *ngIf="!last">,&nbsp;</span>
</span>
Expand Down Expand Up @@ -345,7 +345,7 @@ <h3 class="display-3" i18n="@@PoolWallets">Pool Wallets</h3>
<div class="card-body py-3">
<div class="pool-wallet-banner"><span i18n="@@Address">Address</span> #{{ i + 1 }}</div>
<p class="pool-wallet-description description mt-3">
<a href="https://www.spacescan.io/xch/address/{{ wallet.address }}" target="_blank">
<a href="https://www.spacescan.io/address/{{ wallet.address }}" target="_blank">
{{ wallet.address }}
</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/app/explorer/farmer/farmer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ <h5 class="mb-0">
<tbody *ngIf="(blocks$ | async) as blocks;">
<tr *ngFor="let block of blocks; let i = index">
<td>
<a href="https://www.spacescan.io/xch/block/height/{{ block.farmed_height }}" target="_blank">
<a href="https://www.spacescan.io/block/{{ block.farmed_height }}" target="_blank">
{{ block.farmed_height }}
</a>
</td>
Expand Down

0 comments on commit 0dc8fa0

Please sign in to comment.