From 72fb5654653166e24a50a091b0c25a0cb31bde34 Mon Sep 17 00:00:00 2001 From: s1fr0 <28568419+s1fr0@users.noreply.github.com> Date: Tue, 4 Oct 2022 15:15:00 +0200 Subject: [PATCH] fix(rln): typo --- contracts/PoseidonHasher.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/PoseidonHasher.sol b/contracts/PoseidonHasher.sol index a983047..d8cbea6 100644 --- a/contracts/PoseidonHasher.sol +++ b/contracts/PoseidonHasher.sol @@ -153,7 +153,7 @@ contract PoseidonHasher is IPoseidonHasher { // We load the characteristic let q := Q - // In zerokit implementation, if we pass inp = [a0,a1,..,an] to Poseidonm what is effectively hashed is [0,a0,a1,..,an] + // In zerokit implementation, if we pass inp = [a0,a1,..,an] to Poseidon what is effectively hashed is [0,a0,a1,..,an] // Note that a sequence of MIX-ARK involves 3 Bn254 field additions before the mulmod happens. Worst case we have a value corresponding to 2*(p-1) which is less than 2^256 and hence doesn't overflow //ROUND 0 - FULL let s0 := C0