mirror of
https://github.com/tornadocash/circomlibjs.git
synced 2024-12-12 12:47:09 +01:00
fixing a small conflict in package.json
This commit is contained in:
commit
dd644dd8a9
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "circomlibjs",
|
"name": "circomlibjs",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "circomlibjs",
|
"name": "circomlibjs",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"blake-hash": "^2.0.0",
|
"blake-hash": "^2.0.0",
|
||||||
|
@ -20,7 +20,7 @@ const pow5 = a => F.mul(a, F.square(F.square(a, a)));
|
|||||||
|
|
||||||
function poseidon(inputs) {
|
function poseidon(inputs) {
|
||||||
assert(inputs.length > 0);
|
assert(inputs.length > 0);
|
||||||
assert(inputs.length < N_ROUNDS_P.length - 1);
|
assert(inputs.length <= N_ROUNDS_P.length);
|
||||||
|
|
||||||
const t = inputs.length + 1;
|
const t = inputs.length + 1;
|
||||||
const nRoundsF = N_ROUNDS_F;
|
const nRoundsF = N_ROUNDS_F;
|
||||||
|
@ -20,7 +20,7 @@ const pow5 = a => F.mul(a, F.square(F.square(a, a)));
|
|||||||
|
|
||||||
function poseidon(inputs) {
|
function poseidon(inputs) {
|
||||||
assert(inputs.length > 0);
|
assert(inputs.length > 0);
|
||||||
assert(inputs.length < N_ROUNDS_P.length - 1);
|
assert(inputs.length <= N_ROUNDS_P.length);
|
||||||
|
|
||||||
const t = inputs.length + 1;
|
const t = inputs.length + 1;
|
||||||
const nRoundsF = N_ROUNDS_F;
|
const nRoundsF = N_ROUNDS_F;
|
||||||
|
Loading…
Reference in New Issue
Block a user