From 00386eba240eb9a71ce6386ea3a118cc735bee19 Mon Sep 17 00:00:00 2001 From: Pravdyvy Date: Thu, 27 Nov 2025 06:03:43 +0200 Subject: [PATCH] fix: fmt --- integration_tests/src/test_suite_map.rs | 4 ++-- nssa/core/src/account.rs | 8 ++++---- nssa/core/src/encryption/shared_key_derivation.rs | 1 - 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/integration_tests/src/test_suite_map.rs b/integration_tests/src/test_suite_map.rs index 2fa8e1d..648e8a5 100644 --- a/integration_tests/src/test_suite_map.rs +++ b/integration_tests/src/test_suite_map.rs @@ -1169,8 +1169,8 @@ pub fn prepare_function_map() -> HashMap { // #[nssa_integration_test] // pub async fn test_success_private_transfer_to_another_owned_account_cont_run_path() { // info!( - // "########## test_success_private_transfer_to_another_owned_account_cont_run_path ##########" - // ); + // "########## test_success_private_transfer_to_another_owned_account_cont_run_path + // ##########" ); // let continious_run_handle = tokio::spawn(wallet::execute_continious_run()); // let from: AccountId = ACC_SENDER_PRIVATE.parse().unwrap(); diff --git a/nssa/core/src/account.rs b/nssa/core/src/account.rs index e767e1e..f32d05d 100644 --- a/nssa/core/src/account.rs +++ b/nssa/core/src/account.rs @@ -1,12 +1,12 @@ -use crate::program::ProgramId; -use borsh::{BorshDeserialize, BorshSerialize}; -use serde::{Deserialize, Serialize}; - #[cfg(feature = "host")] use std::{fmt::Display, str::FromStr}; #[cfg(feature = "host")] use base58::{FromBase58, ToBase58}; +use borsh::{BorshDeserialize, BorshSerialize}; +use serde::{Deserialize, Serialize}; + +use crate::program::ProgramId; pub type Nonce = u128; pub type Data = Vec; diff --git a/nssa/core/src/encryption/shared_key_derivation.rs b/nssa/core/src/encryption/shared_key_derivation.rs index 7349d70..b1a572e 100644 --- a/nssa/core/src/encryption/shared_key_derivation.rs +++ b/nssa/core/src/encryption/shared_key_derivation.rs @@ -1,5 +1,4 @@ use borsh::{BorshDeserialize, BorshSerialize}; - use k256::{ AffinePoint, EncodedPoint, FieldBytes, ProjectivePoint, elliptic_curve::{