From 1d891a7c957d25def82eb4910cd397355ddb1fd2 Mon Sep 17 00:00:00 2001 From: JellyWang <38491708+ezailWang@users.noreply.github.com> Date: Thu, 12 Dec 2024 08:45:55 +0800 Subject: [PATCH] fix: swap otherAccount fix exnalAccount (#6329) --- packages/kit/src/views/Swap/hooks/useSwapBuiltTx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kit/src/views/Swap/hooks/useSwapBuiltTx.ts b/packages/kit/src/views/Swap/hooks/useSwapBuiltTx.ts index beba50c9760..c6b87034e49 100644 --- a/packages/kit/src/views/Swap/hooks/useSwapBuiltTx.ts +++ b/packages/kit/src/views/Swap/hooks/useSwapBuiltTx.ts @@ -568,7 +568,7 @@ export function useSwapBuildTx() { accountUtils.isHwAccount({ accountId: swapFromAddressInfo.accountInfo.account.id, }) || - accountUtils.isOthersAccount({ + accountUtils.isExternalAccount({ accountId: swapFromAddressInfo.accountInfo.account.id, }) || SwapBuildUseMultiplePopoversNetworkIds.includes(