Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
There is no need to take into account fees in this case because in the
`my activity` table we want to display the tBTC amount that user
requested to unmint - they actually decrease their balance of tBTC token
by this amount.
  • Loading branch information
r-czajkowski committed Jul 14, 2023
1 parent 865587e commit 434e558
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hooks/tbtc/useSubscribeToRedemptionRequestedEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export const useSubscribeToRedemptionRequestedEvent = () => {

dispatch(
tbtcSlice.actions.redemptionRequested({
// TODO: Take into account fees, see
// https://github.com/threshold-network/token-dashboard/pull/569
amount: fromSatoshiToTokenPrecision(requestedAmount).toString(),
txHash: event.transactionHash,
redemptionKey,
Expand Down

0 comments on commit 434e558

Please sign in to comment.