Skip to content

Commit

Permalink
chore: fix import issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bhgomes committed Jun 2, 2022
1 parent 149f05f commit 791640e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions manta-pay/src/crypto/hash/poseidon/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

//! Poseidon Permutation Parameters
use crate::crypto::hash::poseidon::{constants::security::SecurityCondition, Specification};
use crate::crypto::hash::poseidon::Specification;

#[cfg(feature = "std")]
use manta_util::num::Ceil;
use {manta_util::num::Ceil, security::SecurityCondition};

/// Poseidon Security Parameters
///
Expand Down Expand Up @@ -154,8 +154,8 @@ impl Constants {

/// Security
pub mod security {
use super::*;
use core::cmp;
#[cfg(feature = "std")]
use {core::cmp, manta_util::num::Ceil};

/// Security Conditions
///
Expand Down
2 changes: 1 addition & 1 deletion manta-pay/src/crypto/hash/poseidon/mds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ where
#[cfg(test)]
mod test {
use super::*;
use crate::crypto::{constraint::arkworks::Fp, hash::poseidon::parameter::matrix::Matrix};
use crate::crypto::{constraint::arkworks::Fp, hash::poseidon::matrix::Matrix};
use ark_bls12_381::Fr;
use ark_ff::{field_new, UniformRand};
use manta_crypto::rand::OsRng;
Expand Down

0 comments on commit 791640e

Please sign in to comment.