mirror of
https://github.com/arnaucube/Nova.git
synced 2026-01-11 16:41:28 +01:00
Simplifications in Nova's RO (#98)
* rename methods for better clarity * rename * Bump version
This commit is contained in:
@@ -289,7 +289,7 @@ where
|
||||
)
|
||||
}
|
||||
|
||||
fn compute(&self, z: &F) -> F {
|
||||
fn output(&self, z: &F) -> F {
|
||||
let z_hash = Poseidon::<F, U8>::new_with_preimage(
|
||||
&[
|
||||
self.z_r.x,
|
||||
|
||||
@@ -148,7 +148,7 @@ where
|
||||
z_out
|
||||
}
|
||||
|
||||
fn compute(&self, z: &F) -> F {
|
||||
fn output(&self, z: &F) -> F {
|
||||
// sanity check
|
||||
let z_hash =
|
||||
Poseidon::<F, U2>::new_with_preimage(&[self.seq[0].x_i, self.seq[0].y_i], &self.pc).hash();
|
||||
|
||||
Reference in New Issue
Block a user