Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
chore: remove redundent nesting in template literal
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis committed Jul 2, 2022
1 parent fe3496a commit 272ac37
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { QuoteFeeData, SwapError, SwapErrorTypes } from '../../../../../api'
import { bn } from '../../../../utils/bignumber'
import { ThorchainSwapperDeps } from '../../../types'
import { estimateTradeFee } from '../../estimateTradeFee/estimateTradeFee'

export const getBtcTxFees = async ({
deps,
opReturnData,
Expand All @@ -28,7 +29,7 @@ export const getBtcTxFees = async ({
| undefined
if (!adapter)
throw new SwapError(
`[getBtcTxFees] - No chain adapter found for ${'bip122:000000000019d6689c085ae165831e93'}.`,
`[getBtcTxFees] - No chain adapter found for bip122:000000000019d6689c085ae165831e93.`,
{
code: SwapErrorTypes.UNSUPPORTED_CHAIN,
details: { chainId: 'bip122:000000000019d6689c085ae165831e93' }
Expand Down

0 comments on commit 272ac37

Please sign in to comment.