From 0374f848c477e655edee76409155f26a2faec9c8 Mon Sep 17 00:00:00 2001 From: thomaslavaur Date: Thu, 18 Jul 2024 09:23:02 +0200 Subject: [PATCH] Minor fix on poseidon function bug --- Proof of Leadership/poseidon/poseidon_16_to_1_Jubjub.circom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Proof of Leadership/poseidon/poseidon_16_to_1_Jubjub.circom b/Proof of Leadership/poseidon/poseidon_16_to_1_Jubjub.circom index 6a068c6..02a7912 100644 --- a/Proof of Leadership/poseidon/poseidon_16_to_1_Jubjub.circom +++ b/Proof of Leadership/poseidon/poseidon_16_to_1_Jubjub.circom @@ -361,7 +361,7 @@ template partial_round_16_to_1(round_number) { for(var i=1; i<16; i++){ matrix.in[i] <== in[i]; } - for(var i=1; i<16; i++){ + for(var i=0; i<16; i++){ out[i] <== matrix.out[i]; } }