From 18ebf0c514c4c5526e3155ef49173b9ae17d87ae Mon Sep 17 00:00:00 2001 From: Howard Wu <9260812+howardwu@users.noreply.github.com> Date: Thu, 4 Feb 2021 14:37:13 -0800 Subject: [PATCH] Update examples/pedersen-hash/src/main.leo --- examples/pedersen-hash/src/main.leo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pedersen-hash/src/main.leo b/examples/pedersen-hash/src/main.leo index 225a05ad19..c1d79bf74f 100644 --- a/examples/pedersen-hash/src/main.leo +++ b/examples/pedersen-hash/src/main.leo @@ -7,7 +7,7 @@ circuit PedersenHash { } function hash(self, bits: [bool; 256]) -> group { - let mut digest: group = 0group; + let mut digest: group = 0; for i in 0..256 { if bits[i] { digest += self.parameters[i];