mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
fix: fmt fix
This commit is contained in:
parent
9993590d45
commit
5de28e999e
@ -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 {
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user