From ad0e0312564f602eed78eb231a21ca67db241857 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 12 Dec 2024 14:28:26 +1000 Subject: [PATCH] fix: Fix debridge to token address --- .../src/modules/transfer/hooks/useLoadingBridgeFees.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/canonical-bridge-widget/src/modules/transfer/hooks/useLoadingBridgeFees.ts b/packages/canonical-bridge-widget/src/modules/transfer/hooks/useLoadingBridgeFees.ts index a61e7d23..495d018d 100644 --- a/packages/canonical-bridge-widget/src/modules/transfer/hooks/useLoadingBridgeFees.ts +++ b/packages/canonical-bridge-widget/src/modules/transfer/hooks/useLoadingBridgeFees.ts @@ -160,7 +160,7 @@ export const useLoadingBridgeFees = () => { fromTokenAddress: selectedToken.deBridge?.raw?.address as `0x${string}`, amount, toChainId: toChain?.id, - toTokenAddress: toToken?.address as `0x${string}`, + toTokenAddress: toToken?.deBridge?.raw?.address as `0x${string}`, accesstoken: deBridgeAccessToken, userAddress: fromChain.chainType === 'solana'