Skip to content

Commit

Permalink
fix: explorer siafund address total
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Nov 8, 2023
1 parent 3c5f490 commit c54455f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/kind-jeans-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'explorer': minor
---

Siafunds now properly show on the address totals.
2 changes: 1 addition & 1 deletion apps/explorer/components/Address/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function Address({ id, address }: Props) {
if (address.unspent_siafunds !== '0') {
list.push({
label: 'SF',
sc: new BigNumber(address.unspent_siafunds),
sf: Number(address.unspent_siafunds),
})
}
return list
Expand Down

0 comments on commit c54455f

Please sign in to comment.