Skip to content

Commit

Permalink
Fix token amount calculation (#2634)
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy authored and sophialittlejohn committed Feb 17, 2025
1 parent 4d0021e commit ab56b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/InvestRedeem/RedeemForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export function RedeemForm({ autoFocus }: RedeemFormProps) {
`~${formatBalance(
form.values.amount instanceof Decimal
? form.values.amount
: Dec(form.values.amount).div(state.tokenPrice),
: Dec(form.values.amount).mul(state.tokenPrice),
state.poolCurrency?.displayName
)}`}
</Text>
Expand Down

0 comments on commit ab56b0e

Please sign in to comment.