From d91b07a785efcb373992b78afcd2fc4fa44aa44f Mon Sep 17 00:00:00 2001 From: Sergio Chouhy Date: Fri, 12 Sep 2025 09:39:08 -0300 Subject: [PATCH] fmt --- nssa/core/src/circuit_io.rs | 2 +- nssa/src/address.rs | 2 +- nssa/src/privacy_preserving_transaction/circuit.rs | 2 +- nssa/src/program.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nssa/core/src/circuit_io.rs b/nssa/core/src/circuit_io.rs index deeedbd..14feef7 100644 --- a/nssa/core/src/circuit_io.rs +++ b/nssa/core/src/circuit_io.rs @@ -41,7 +41,7 @@ mod tests { use super::*; use crate::{ Commitment, Nullifier, NullifierPublicKey, - account::{Account, AccountWithMetadata, AccountId}, + account::{Account, AccountId, AccountWithMetadata}, }; use risc0_zkvm::serde::from_slice; diff --git a/nssa/src/address.rs b/nssa/src/address.rs index 24fc7cf..5837e20 100644 --- a/nssa/src/address.rs +++ b/nssa/src/address.rs @@ -126,7 +126,7 @@ mod tests { fn test_account_id_from_address() { let address: Address = "37".repeat(32).parse().unwrap(); let expected_account_id = AccountId::new([55; 32]); - + let account_id = AccountId::from(&address); assert_eq!(account_id, expected_account_id); diff --git a/nssa/src/privacy_preserving_transaction/circuit.rs b/nssa/src/privacy_preserving_transaction/circuit.rs index 3d6f594..d8e5701 100644 --- a/nssa/src/privacy_preserving_transaction/circuit.rs +++ b/nssa/src/privacy_preserving_transaction/circuit.rs @@ -90,7 +90,7 @@ fn execute_and_prove_program( mod tests { use nssa_core::{ Commitment, EncryptionScheme, Nullifier, - account::{Account, AccountWithMetadata, AccountId}, + account::{Account, AccountId, AccountWithMetadata}, }; use crate::{ diff --git a/nssa/src/program.rs b/nssa/src/program.rs index 6def822..1096df8 100644 --- a/nssa/src/program.rs +++ b/nssa/src/program.rs @@ -77,7 +77,7 @@ impl Program { #[cfg(test)] mod tests { - use nssa_core::account::{Account, AccountWithMetadata, AccountId}; + use nssa_core::account::{Account, AccountId, AccountWithMetadata}; use crate::program::Program;