Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsmiarowski committed Jul 14, 2023
1 parent 2a479ff commit cb200bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks/tbtc/useFetchRedemptionDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit cb200bf

Please sign in to comment.