From c2db2f53276e8acb68a7122afdf6c49c292d6348 Mon Sep 17 00:00:00 2001 From: HenryNguyen5 Date: Mon, 30 Apr 2018 16:01:15 -0400 Subject: [PATCH] Remove checksumming of addresses in generated keystore --- common/libs/web-workers/workers/generateKeystore.worker.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/libs/web-workers/workers/generateKeystore.worker.ts b/common/libs/web-workers/workers/generateKeystore.worker.ts index f8737351..530c12be 100644 --- a/common/libs/web-workers/workers/generateKeystore.worker.ts +++ b/common/libs/web-workers/workers/generateKeystore.worker.ts @@ -1,5 +1,4 @@ import { generate } from 'ethereumjs-wallet'; -import { toChecksumAddress } from 'ethereumjs-util'; const worker: Worker = self as any; @@ -14,6 +13,5 @@ worker.onmessage = (event: MessageEvent) => { const filename = wallet.getV3Filename(); const privateKey = wallet.getPrivateKeyString(); const keystore = wallet.toV3(info.password, { n: info.N_FACTOR }); - keystore.address = toChecksumAddress(keystore.address); worker.postMessage({ keystore, filename, privateKey }); };