From 9d8e31fe502f676c223b8866a68fecd963e64e38 Mon Sep 17 00:00:00 2001 From: Wenty Li <105278450+wenty22@users.noreply.github.com> Date: Thu, 26 Dec 2024 13:02:38 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20Fix=20trust=20wallet=20will=20?= =?UTF-8?q?get=20an=20incorrect=20account=20when=20multiple=20acc=E2=80=A6?= =?UTF-8?q?"=20(#248)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 82c5d18b50d8b0dfedd6584b509657c9c32f4df1. --- .changeset/short-planes-care.md | 6 ------ packages/walletkit/__dev__/App.tsx | 2 -- packages/walletkit/src/evm/wallets/injected.ts | 6 +----- 3 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 .changeset/short-planes-care.md diff --git a/.changeset/short-planes-care.md b/.changeset/short-planes-care.md deleted file mode 100644 index 94b03e1b..00000000 --- a/.changeset/short-planes-care.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@node-real/walletkit': patch ---- - -Fix trust wallet will get an incorrect account when multiple accounts were associated with the same -dapp diff --git a/packages/walletkit/__dev__/App.tsx b/packages/walletkit/__dev__/App.tsx index c9af2398..4fe03c80 100644 --- a/packages/walletkit/__dev__/App.tsx +++ b/packages/walletkit/__dev__/App.tsx @@ -96,8 +96,6 @@ function ConnectButton() { const { publicKey, disconnect: solanaDisconnect } = useSolanaWallet(); const { address: tronAddress, disconnect: tronDisconnect } = useTronWallet(); - console.log(address, '===='); - return ( <>