Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed May 25, 2024
1 parent baf6fc7 commit 15473bd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/bls12_377_impl.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::define_curve_tests;
use crate::stealth_commitments::StealthAddressOnCurve;
use ark_bls12_377::g1::{G1_GENERATOR_X, G1_GENERATOR_Y};
use ark_bls12_377::{Fq, Fr, G1Affine, G1Projective};

use ark_bls12_377::{Fr, G1Projective};

impl StealthAddressOnCurve for ark_bls12_377::Bls12_377 {
type Projective = G1Projective;
Expand Down
4 changes: 2 additions & 2 deletions src/bls12_381_impl.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::define_curve_tests;
use crate::stealth_commitments::StealthAddressOnCurve;
use ark_bls12_381::g1::{G1_GENERATOR_X, G1_GENERATOR_Y};
use ark_bls12_381::{Fq, Fr, G1Affine, G1Projective};

use ark_bls12_381::{Fr, G1Projective};

impl StealthAddressOnCurve for ark_bls12_381::Bls12_381 {
type Projective = G1Projective;
Expand Down
4 changes: 2 additions & 2 deletions src/bn254_impl.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::define_curve_tests;
use crate::stealth_commitments::StealthAddressOnCurve;
use ark_bn254::g1::{G1_GENERATOR_X, G1_GENERATOR_Y};
use ark_bn254::{Fq, Fr, G1Affine, G1Projective};

use ark_bn254::{Fr, G1Projective};
use rln::hashers::{hash_to_field, poseidon_hash};

impl StealthAddressOnCurve for ark_bn254::Bn254 {
Expand Down
2 changes: 1 addition & 1 deletion src/pallas_impl.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::define_curve_tests;
use crate::stealth_commitments::StealthAddressOnCurve;
use ark_pallas::{Affine, Fq, Fr, Projective, G_GENERATOR_X, G_GENERATOR_Y};
use ark_pallas::{Fr, Projective};

pub struct Pallas;

Expand Down
2 changes: 1 addition & 1 deletion src/secp256r1_impl.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::define_curve_tests;
use crate::stealth_commitments::StealthAddressOnCurve;
use ark_secp256r1::{Affine, Fq, Fr, Projective};
use ark_secp256r1::{Fr, Projective};

pub struct Secp256r1;

Expand Down
2 changes: 1 addition & 1 deletion src/vesta_impl.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::define_curve_tests;
use crate::stealth_commitments::StealthAddressOnCurve;
use ark_vesta::{Affine, Fq, Fr, Projective, G_GENERATOR_X, G_GENERATOR_Y};
use ark_vesta::{Fr, Projective};

pub struct Vesta;

Expand Down

0 comments on commit 15473bd

Please sign in to comment.