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

Commit 21b3d24

Browse files
committed
fix(account): uses networkId for account checksum address
1 parent e31b5db commit 21b3d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/organisms/Account.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const Account: FC<AccountProps> = (props) => {
9595
if (connectionStatus === ConnectionStatus.WrongNetwork) return 'Wrong Network'
9696

9797
if (account) { // means connectionStatus === ConnectionStatus.LoggedIn
98-
return shortenString(toChecksumAddress(account))
98+
return shortenString(toChecksumAddress(account, requiredNetworkId))
9999
}
100100
return 'Unlock your wallet'
101101
}

0 commit comments

Comments
 (0)