pull/21/head
pubkey 6 years ago
parent 8106564cfd
commit 0c20bff2ae
  1. 1
      dist/es/create-identity.js
  2. 1
      dist/lib/create-identity.js
  3. 2
      package.json

@ -37,6 +37,5 @@ export default function createIdentity(entropy) {
var privateKey = createPrivateKey(entropy);
var identity = fromPrivate(privateKey);
identity.publicKey = publicKeyByPrivateKey(identity.privateKey);
console.dir(identity);
return identity;
}

@ -53,6 +53,5 @@ function createIdentity(entropy) {
var privateKey = createPrivateKey(entropy);
var identity = (0, _account.fromPrivate)(privateKey);
identity.publicKey = (0, _publicKeyByPrivateKey2['default'])(identity.privateKey);
console.dir(identity);
return identity;
}

@ -1,6 +1,6 @@
{
"name": "eth-crypto",
"version": "1.3.0",
"version": "1.3.1",
"description": "Cryptographic functions for ethereum and how to use them with web3 and solidity",
"keywords": [
"ethereum",

Loading…
Cancel
Save