Skip to content

Commit d5c0dc0

Browse files
authored
chore(examples): bump zkquiz aligned_sdk dependencies (#896)
1 parent 1b20812 commit d5c0dc0

File tree

5 files changed

+472
-304
lines changed

5 files changed

+472
-304
lines changed

examples/zkquiz/quiz/program/Cargo.lock

Lines changed: 71 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/zkquiz/quiz/program/src/main.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ pub fn main() {
1212
let mut sha3 = Sha3::v256();
1313
let mut output = [0u8; 32];
1414

15-
sha3.update(&answers.as_bytes());
15+
sha3.update(answers.as_bytes());
1616

1717
sha3.finalize(&mut output);
1818

19-
if output != [232,202,155,157,82,242,126,73,75,22,197,34,41,170,163,190,22,29,192,5,99,134,186,25,77,128,188,154,238,70,245,229] {
19+
if output
20+
!= [
21+
232, 202, 155, 157, 82, 242, 126, 73, 75, 22, 197, 34, 41, 170, 163, 190, 22, 29, 192,
22+
5, 99, 134, 186, 25, 77, 128, 188, 154, 238, 70, 245, 229,
23+
]
24+
{
2025
panic!("Answers do not match");
2126
}
2227
}

0 commit comments

Comments
 (0)