From cb200bfd9445f6f59658416f6cde78e8aa126764 Mon Sep 17 00:00:00 2001 From: michalsmiarowski Date: Fri, 14 Jul 2023 13:10:45 +0200 Subject: [PATCH] Add TODO --- src/hooks/tbtc/useFetchRedemptionDetails.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hooks/tbtc/useFetchRedemptionDetails.ts b/src/hooks/tbtc/useFetchRedemptionDetails.ts index 4cba6f437..25c989fad 100644 --- a/src/hooks/tbtc/useFetchRedemptionDetails.ts +++ b/src/hooks/tbtc/useFetchRedemptionDetails.ts @@ -204,6 +204,8 @@ export const useFetchRedemptionDetails = ( redemptionCompletedBlockNumber ) setRedemptionData({ + // TODO: Use satoshi <-> IERC20 conversion function from + // https://github.com/threshold-network/token-dashboard/commit/fe8b96e24e013c4e86e8faff74f4bc056fd3e0b4 requestedAmount: BigNumber.from(redemptionRequestedEvent.amount) .mul(BigNumber.from(10).pow(10)) .toString(),