fix pedersen hash example

This commit is contained in:
collin 2020-09-02 21:01:50 -07:00
parent 603438b216
commit 44a796ad48

View File

@ -21,6 +21,6 @@ circuit PedersenHash {
function main() -> group {
const parameters = [1group; 256];
const pedersen = PedersenHash::new(parameters);
let input: [bool; 256] = [true; 256];
return pedersen.hash(input)
let hash_input: [bool; 256] = [true; 256];
return pedersen.hash(hash_input)
}