fix: fmt fix

This commit is contained in:
Oleksandr Pravdyvyi 2025-09-02 07:44:24 +03:00
parent 9993590d45
commit 5de28e999e
No known key found for this signature in database
GPG Key ID: 9F8955C63C443871
2 changed files with 3 additions and 9 deletions

View File

@ -17,9 +17,7 @@ impl NSSAUserData {
pub fn new() -> Self {
let key_holder = KeyChain::new_os_random();
Self {
key_holder,
}
Self { key_holder }
}
fn valid_key_transaction_pairing_check(
@ -43,9 +41,7 @@ impl NSSAUserData {
let key_holder = KeyChain::new_os_random_with_accounts(accounts_keys);
Ok(Self {
key_holder,
})
Ok(Self { key_holder })
}
pub fn generate_new_account(&mut self) -> nssa::Address {

View File

@ -14,9 +14,7 @@ use nssa::Address;
use clap::{Parser, Subcommand};
use nssa_core::account::Account;
use crate::helperfunctions::{
fetch_config, produce_account_addr_from_hex,
};
use crate::helperfunctions::{fetch_config, produce_account_addr_from_hex};
pub const HOME_DIR_ENV_VAR: &str = "NSSA_WALLET_HOME_DIR";
pub const BLOCK_GEN_DELAY_SECS: u64 = 20;