Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

Commit 5357cc7

Browse files
committed
feat(web3): retrieves account address always in lowercase
1 parent a0c4e4b commit 5357cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/Web3Provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const getAccountFromEthAccounts = (accounts: string[] | string): string | undefi
5959

6060
if (Array.isArray(accounts)) [account] = accounts
6161
else account = accounts
62-
return account
62+
return account.toLowerCase()
6363
}
6464

6565
/**

0 commit comments

Comments
 (0)