Skip to content

Commit

Permalink
refactor(explorer): re-add host announcements to transaction route
Browse files Browse the repository at this point in the history
  • Loading branch information
telestrial committed Sep 24, 2024
1 parent 9d752e0 commit 0e7c7c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-hats-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'explorer': minor
---

Readded host announcements to transaction route.
14 changes: 7 additions & 7 deletions apps/explorer/components/Transaction/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ export function Transaction({
hash: contract.id,
})
})
// transaction.host_announcements??.forEach((host) => {
// operations.push({
// label: 'host announcement',
// // type: 'host',
// hash: host.net_address,
// })
// })
transaction.hostAnnouncements?.forEach((host) => {
operations.push({
label: 'host announcement',
// type: 'host',
hash: host.netAddress,
})
})
transaction.storageProofs?.forEach((proof) => {
operations.push({
label: 'storage proof',
Expand Down

0 comments on commit 0e7c7c8

Please sign in to comment.