bitagora-booth
Advanced tools
Comparing version 1.0.44 to 1.0.45
13
booth.js
@@ -34,12 +34,3 @@ const { | ||
try { | ||
const privateKey = Secp256k1PrivateKey.fromHex(privkey_hex); | ||
const signerContext = createContext('secp256k1'); | ||
const factory = new CryptoFactory(signerContext); | ||
const signer = factory.newSigner(privateKey); | ||
const pubkey_hex = signerContext.getPublicKey(privateKey).asHex(); | ||
if (!Boolean(data.id)) { | ||
@@ -50,3 +41,3 @@ if (Boolean(data.privkey)) { | ||
const signerContext = createContext('secp256k1'); | ||
let data['id'] = signerContext.getPublicKey(privateKey).asHex(); | ||
/*let data['id'] = signerContext.getPublicKey(privateKey).asHex();*/ | ||
} | ||
@@ -53,0 +44,0 @@ } |
{ | ||
"name": "bitagora-booth", | ||
"version": "1.0.44", | ||
"version": "1.0.45", | ||
"description": "Bitagora booth", | ||
@@ -5,0 +5,0 @@ "main": "booth.js", |
22533
674