Skip to content

Commit

Permalink
Merge pull request #708 from hemilabs/fix-btc-fees-review-deposit
Browse files Browse the repository at this point in the history
Fix incorrrect display of btc fees on deposit
  • Loading branch information
gndelia authored Dec 16, 2024
2 parents 5642fa7 + 8ab03ea commit a9343d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useContext } from 'react'
import Skeleton from 'react-loading-skeleton'
import { type BtcToken } from 'types/token'
import { type BtcDepositOperation, BtcDepositStatus } from 'types/tunnel'
import { formatGasFees, getFormattedValue } from 'utils/format'
import { formatGasFees } from 'utils/format'
import { useAccount } from 'wagmi'

import {
Expand Down Expand Up @@ -96,7 +96,7 @@ const ReviewContent = function ({
BtcDepositStatus.DEPOSIT_TX_FAILED,
].includes(depositStatus) && feePrices?.fastestFee
? {
amount: getFormattedValue(feePrices?.fastestFee?.toString()),
amount: feePrices?.fastestFee?.toString(),
symbol: 'sat/vB',
}
: undefined,
Expand Down

0 comments on commit a9343d9

Please sign in to comment.