diff --git a/circuits/src/transfer.rs b/circuits/src/transfer.rs index 77b24d4..901b5d6 100644 --- a/circuits/src/transfer.rs +++ b/circuits/src/transfer.rs @@ -18,7 +18,7 @@ use rand_core::{CryptoRng, RngCore, SeedableRng}; extern crate alloc; use alloc::vec::Vec; -use phoenix_core::{Note, Ownable, Error as PhoenixError, SecretKey, ViewKey}; +use phoenix_core::{Error as PhoenixError, Note, Ownable, SecretKey, ViewKey}; const OUTPUT: usize = 2; diff --git a/circuits/tests/transfer.rs b/circuits/tests/transfer.rs index b3310ad..b018fee 100644 --- a/circuits/tests/transfer.rs +++ b/circuits/tests/transfer.rs @@ -6,11 +6,11 @@ use rand_core::{CryptoRng, OsRng, RngCore}; -use phoenix_circuits::transfer::{TransferCircuit, InputNote, OutputNote}; +use phoenix_circuits::transfer::{InputNote, OutputNote, TransferCircuit}; use phoenix_core::{Note, PublicKey, SecretKey, ViewKey}; -use poseidon_merkle::{Item, Tree}; use dusk_plonk::prelude::*; +use poseidon_merkle::{Item, Tree}; #[macro_use] extern crate lazy_static;