mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
fix: fmt
This commit is contained in:
parent
38acb89b93
commit
b1b7bc4463
@ -19,7 +19,8 @@ use tokio::io::AsyncWriteExt;
|
||||
use crate::{
|
||||
config::PersistentStorage,
|
||||
helperfunctions::{
|
||||
fetch_config, fetch_persistent_storage, get_home, produce_data_for_storage, produce_random_nonces
|
||||
fetch_config, fetch_persistent_storage, get_home, produce_data_for_storage,
|
||||
produce_random_nonces,
|
||||
},
|
||||
poller::TxPoller,
|
||||
};
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
use anyhow::Result;
|
||||
use clap::{CommandFactory as _, Parser as _};
|
||||
use tokio::runtime::Builder;
|
||||
use wallet::cli::{Args, OverCommand, execute_continuous_run, execute_subcommand};
|
||||
use wallet::execute_setup;
|
||||
use wallet::{
|
||||
cli::{Args, OverCommand, execute_continuous_run, execute_subcommand},
|
||||
execute_setup,
|
||||
};
|
||||
|
||||
pub const NUM_THREADS: usize = 2;
|
||||
|
||||
@ -31,9 +33,7 @@ fn main() -> Result<()> {
|
||||
let _output = execute_subcommand(command).await?;
|
||||
Ok(())
|
||||
}
|
||||
OverCommand::Setup { password } => {
|
||||
Ok(execute_setup(password).await?)
|
||||
}
|
||||
OverCommand::Setup { password } => Ok(execute_setup(password).await?),
|
||||
}
|
||||
} else if args.continuous_run {
|
||||
Ok(execute_continuous_run().await?)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user