Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmasson committed Oct 11, 2022
1 parent 21e36e6 commit ef4a716
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions masp_primitives/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ fn generate_pedersen_hash_exp_table() -> Vec<Vec<Vec<SubgroupPoint>>> {

#[cfg(test)]
mod tests {
use jubjub::{SubgroupPoint, ExtendedPoint};
use jubjub::{ExtendedPoint, SubgroupPoint};

use super::*;
use zcash_primitives::sapling::group_hash::group_hash;
Expand Down Expand Up @@ -426,9 +426,11 @@ mod tests {
SPENDING_KEY_GENERATOR,
],
PEDERSEN_HASH_GENERATORS,
].concat() {
let x:ExtendedPoint = point.into();
let boo:bool = x.is_torsion_free().into();
]
.concat()
{
let x: ExtendedPoint = point.into();
let boo: bool = x.is_torsion_free().into();
assert!(boo);
}
}
Expand Down

0 comments on commit ef4a716

Please sign in to comment.