mirror of
https://github.com/AleoHQ/leo.git
synced 2025-01-01 22:36:52 +03:00
fix pedersen hash example
This commit is contained in:
parent
603438b216
commit
44a796ad48
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user