From 434e5585cce7f039be27432ff821d9a8cf7e806c Mon Sep 17 00:00:00 2001 From: Rafal Czajkowski Date: Fri, 14 Jul 2023 14:47:58 +0200 Subject: [PATCH] Remove TODO 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. --- src/hooks/tbtc/useSubscribeToRedemptionRequestedEvent.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hooks/tbtc/useSubscribeToRedemptionRequestedEvent.ts b/src/hooks/tbtc/useSubscribeToRedemptionRequestedEvent.ts index 1a6bb7a1f..02aa68566 100644 --- a/src/hooks/tbtc/useSubscribeToRedemptionRequestedEvent.ts +++ b/src/hooks/tbtc/useSubscribeToRedemptionRequestedEvent.ts @@ -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,