Skip to content

Commit 6023710

Browse files
fix: return checksummed address for keystore wallets
Co-authored-by: Copilot <[email protected]>
1 parent c55bac1 commit 6023710

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)