Skip to content

Commit

Permalink
chore: rm unnecessary walletAddress condition
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelae committed Feb 12, 2025
1 parent c23801a commit 4ecc81c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ui/pages/bridge/prepare/prepare-bridge-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,8 @@ const PrepareBridgePage = () => {
// balance is less than the tenderly balance
insufficientBal: Boolean(providerConfig?.rpcUrl?.includes('tenderly')),
slippage,
walletAddress:
fromChain?.chainId && isCaipChainId(fromChain.chainId)
? selectedAccount?.address
: selectedEvmAccount?.address,
walletAddress: selectedAccount?.address,
// TODO: Remove this once we have a way to get the dest wallet address
destWalletAddress:
toChain?.chainId && isCaipChainId(toChain.chainId)
? selectedAccount?.address
Expand Down

0 comments on commit 4ecc81c

Please sign in to comment.