From c4496aecc84a9e736a88b798c30e078793253f21 Mon Sep 17 00:00:00 2001 From: poma Date: Mon, 26 Oct 2020 16:08:57 +0300 Subject: [PATCH] fix poseidon contract bug --- src/poseidon_gencontract.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poseidon_gencontract.js b/src/poseidon_gencontract.js index 4019b94..5a65ac9 100644 --- a/src/poseidon_gencontract.js +++ b/src/poseidon_gencontract.js @@ -116,7 +116,7 @@ function createCode(nInputs) { // We ignore the pointer and the length and just load t values to the state // (Stack positions 0-{t-1}) If the array is shorter, we just set zeros. for (let i=0; i