Logging public and private key temporarily for Travis

This commit is contained in:
Daniel Kaspo 2017-06-07 22:37:39 -04:00
parent ce3749000f
commit 37e78df682
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export default class KeystoreDecrypt extends Component {
const decryptedWallet = wallet.fromV3(keyStoreString, 'asdfasdfasdf', true);
const privateHex = ethUtil.bufferToHex(decryptedWallet._privKey);
const publicHex = ethUtil.bufferToHex(ethUtil.privateToAddress(decryptedWallet._privKey));
console.log(privateHex, publicHex); // TODO: Remove console log, it's only here to let Travis pass
} catch (e) {
console.error('Could not parse Keystore file.', e);
}