diff --git a/src/screens/walletConnect/index.tsx b/src/screens/walletConnect/index.tsx index 41378309e..a6e600d1c 100644 --- a/src/screens/walletConnect/index.tsx +++ b/src/screens/walletConnect/index.tsx @@ -87,7 +87,10 @@ export const WalletConnectScreen = ({ route }: Props) => { setValue('wcUri', clipboardText) } - const onUriSubmitted = () => onCreateNewSession(wcUri) + const onUriSubmitted = () => { + setValue('wcUri', '') + onCreateNewSession(wcUri) + } const handleDisconnectSession = (mergedWc: WC2Session) => async () => { await onDisconnectSession(mergedWc.wc) diff --git a/src/screens/walletConnect/walletConnect2.utils.ts b/src/screens/walletConnect/walletConnect2.utils.ts index eb3bafa92..2132727b7 100644 --- a/src/screens/walletConnect/walletConnect2.utils.ts +++ b/src/screens/walletConnect/walletConnect2.utils.ts @@ -52,7 +52,7 @@ export const createWeb3Wallet = async () => { export const rskWalletConnectNamespace = { eip155: { - chains: ['eip155:30', 'eip155:31'], + chains: ['eip155:31'], // @TODO implement eip155:30 here -> make this dynamic according to the current chainId in the app methods: ['eth_sendTransaction', 'personal_sign'], events: ['chainChanged', 'accountsChanged'], },