Skip to content

Commit ab0ab94

Browse files
committed
chore: rm unnecessary walletAddress condition
1 parent a505087 commit ab0ab94

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ui/pages/bridge/prepare/prepare-bridge-page.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,8 @@ const PrepareBridgePage = () => {
288288
// balance is less than the tenderly balance
289289
insufficientBal: Boolean(providerConfig?.rpcUrl?.includes('tenderly')),
290290
slippage,
291-
walletAddress:
292-
fromChain?.chainId && isCaipChainId(fromChain.chainId)
293-
? selectedAccount?.address
294-
: selectedEvmAccount?.address,
291+
walletAddress: selectedAccount?.address,
292+
// TODO: Remove this once we have a way to get the dest wallet address
295293
destWalletAddress:
296294
toChain?.chainId && isCaipChainId(toChain.chainId)
297295
? selectedAccount?.address

0 commit comments

Comments
 (0)