Remove checksumming of addresses in generated keystore

This commit is contained in:
HenryNguyen5 2018-04-30 16:01:15 -04:00
parent 488903c331
commit c2db2f5327
1 changed files with 0 additions and 2 deletions

View File

@ -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 });
};