Skip to content

Commit

Permalink
Update examples/pedersen-hash/src/main.leo
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu authored Feb 4, 2021
1 parent 839eda7 commit 6f15498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pedersen-hash/src/main.leo
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 6f15498

Please sign in to comment.