mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-17 05:26:36 +00:00
Logging public and private key temporarily for Travis
This commit is contained in:
parent
ce3749000f
commit
37e78df682
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user