diff --git a/src/walletConnect/index.tsx b/src/walletConnect/index.tsx index 0faf3a4ec5e..5a45f567b37 100644 --- a/src/walletConnect/index.tsx +++ b/src/walletConnect/index.tsx @@ -718,12 +718,10 @@ export async function onSessionRequest(event: SignClientTypes.EventArguments['se logger.debug(`[walletConnect]: handling request`, {}, logger.DebugContext.walletconnect); - const dappNetwork = ethereumUtils.getNetworkFromChainId(chainId); - const displayDetails = await getRequestDisplayDetails(event.params.request, nativeCurrency, dappNetwork); + const displayDetails = await getRequestDisplayDetails(event.params.request, nativeCurrency, chainId); const peerMeta = session.peer.metadata; const metadata = await fetchDappMetadata({ url: peerMeta.url, status: true }); - const dappName = metadata?.appName || peerMeta.name || lang.t(lang.l.walletconnect.unknown_url); const dappImage = metadata?.appLogo || peerMeta?.icons?.[0];