Skip to content

Commit

Permalink
style: better formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Dec 16, 2024
1 parent 4dbefe5 commit 3a18347
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/routes/ft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ const ShowRoutes: FastifyPluginCallback<Record<never, never>, Server, TypeBoxTyp
decimals,
total_supply:
decimals != undefined && total_supply != undefined
? BigNumber(total_supply)
.shiftedBy(-1 * decimals)
.toString()
? BigNumber(total_supply).shiftedBy(-decimals).toString()
: undefined,
token_uri: metadataBundle?.token?.uri ?? undefined,
description: metadataBundle?.metadataLocale?.metadata?.description ?? undefined,
Expand Down

0 comments on commit 3a18347

Please sign in to comment.