Remove checksumming of keystore address (#1697)

This commit is contained in:
HenryNguyen5 2018-05-01 21:45:22 -04:00 committed by Daniel Ternyak
parent d348e3c112
commit dc8edc91b7

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