Skip to content

Commit f52e509

Browse files
fix: return checksummed address for keystore wallets
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d39985a commit f52e509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/utils/keystore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export async function loadWalletInfoFromKeystore({
5858
const encryptedWallet = await readFile(filePath, 'utf8');
5959
const { address, Crypto } = JSON.parse(encryptedWallet);
6060
return {
61-
address: getAddress(address).toLowerCase(),
61+
address: getAddress(address),
6262
isEncrypted: !!Crypto,
6363
};
6464
} catch (e) {

0 commit comments

Comments
 (0)