bitagora-booth
Advanced tools
Comparing version 1.0.40 to 1.0.41
@@ -41,3 +41,3 @@ const { | ||
const signer = factory.newSigner(privateKey); | ||
const data.id = signer.getPublicKey().asHex(); | ||
const data.id = signerContext.getPublicKey(privateKey).asHex(); | ||
} | ||
@@ -190,3 +190,3 @@ if (!Boolean(data.poll) || !Boolean(data.id)) throw 'No data'; | ||
const signer = factory.newSigner(privateKey); | ||
const pubkey_hex = signer.getPublicKey().asHex(); | ||
const pubkey_hex = signerContext.getPublicKey(privateKey).asHex(); | ||
if (pubkey_hex == newVote.id && validateVote(newVote, context.poll)) { | ||
@@ -193,0 +193,0 @@ getNodeList( function(APIs) { |
{ | ||
"name": "bitagora-booth", | ||
"version": "1.0.40", | ||
"version": "1.0.41", | ||
"description": "Bitagora booth", | ||
@@ -23,4 +23,4 @@ "main": "booth.js", | ||
"btoa": "1.2.1", | ||
"cbor": "4.0.0", | ||
"crypto-js": "3.1.9-1", | ||
"cbor": "4.0.0", | ||
"crypto-js": "3.1.9-1", | ||
"request": "2.87.0", | ||
@@ -27,0 +27,0 @@ "async": "2.6.0", |
22593