Skip to content

Commit

Permalink
change ring params
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanLav committed Jul 24, 2024
1 parent 3ebdd26 commit 3759581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bandersnatch_vrfs/src/ring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ impl KZG {
*/

pub fn prover_key(&self, pks: Vec<SWAffine>) -> ProverKey {
ring::index(self.pcs_params.clone(), &self.piop_params, pks).0
ring::index(&self.pcs_params, &self.piop_params, &pks).0
}

pub fn verifier_key(&self, pks: Vec<SWAffine>) -> VerifierKey {
ring::index(self.pcs_params.clone(), &self.piop_params, pks).1
ring::index(&self.pcs_params, &self.piop_params, &pks).1
}

/// `k` is the prover secret index in [0..keyset_size).
Expand Down

0 comments on commit 3759581

Please sign in to comment.