Browse Source

Merge pull request #56 from rex4539/fix-typos

Fix typos
master
ebfull 7 years ago committed by GitHub
parent
commit
c09292672a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/jubjub/edwards.rs
  2. 2
      src/jubjub/mod.rs

2
src/jubjub/edwards.rs

@ -318,7 +318,7 @@ impl<E: JubjubEngine, Subgroup> Point<E, Subgroup> {
//
// ... which represents the point ( x / y , (x - 1) / (x + 1) )
// as required by the mapping and preserves the property of
// the auxillary coordinate t.
// the auxiliary coordinate t.
//
// We need to scale the coordinate, so u and t will have
// an extra factor s.

2
src/jubjub/mod.rs

@ -119,7 +119,7 @@ pub trait JubjubParams<E: JubjubEngine>: Sized {
fn fixed_base_chunks_per_generator(&self) -> usize;
/// Returns a fixed generator.
fn generator(&self, base: FixedGenerators) -> &edwards::Point<E, PrimeOrder>;
/// Returns a window table [0, 1, ..., 8] for different magntitudes of some
/// Returns a window table [0, 1, ..., 8] for different magnitudes of some
/// fixed generator.
fn circuit_generators(&self, FixedGenerators) -> &[Vec<(E::Fr, E::Fr)>];
}

Loading…
Cancel
Save