mirror of
https://github.com/arnaucube/hyperplonk.git
synced 2026-01-10 16:11:29 +01:00
initial integration of hyperplonk snark(#39)
This commit is contained in:
@@ -87,8 +87,7 @@ impl<F: PrimeField> IOPTranscript<F> {
|
||||
let mut buf = [0u8; 64];
|
||||
self.transcript.challenge_bytes(label, &mut buf);
|
||||
let challenge = F::from_le_bytes_mod_order(&buf);
|
||||
self.transcript
|
||||
.append_message(label, &to_bytes!(&challenge)?);
|
||||
self.append_serializable_element(label, &challenge)?;
|
||||
Ok(challenge)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user