From 272ac375f49064d8a9f91557d050a4ed1be54134 Mon Sep 17 00:00:00 2001 From: Apotheosis <97164662+0xApotheosis@users.noreply.github.com> Date: Sat, 2 Jul 2022 10:36:45 +1000 Subject: [PATCH] chore: remove redundent nesting in template literal --- .../thorchain/utils/txFeeHelpers/btcTxFees/getBtcTxFees.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/swapper/src/swappers/thorchain/utils/txFeeHelpers/btcTxFees/getBtcTxFees.ts b/packages/swapper/src/swappers/thorchain/utils/txFeeHelpers/btcTxFees/getBtcTxFees.ts index 1a3081475..3f05641bf 100644 --- a/packages/swapper/src/swappers/thorchain/utils/txFeeHelpers/btcTxFees/getBtcTxFees.ts +++ b/packages/swapper/src/swappers/thorchain/utils/txFeeHelpers/btcTxFees/getBtcTxFees.ts @@ -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, @@ -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' }