Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tmrlvi committed Apr 2, 2022
1 parent 4742f76 commit 8bf16e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct Opt {
#[clap(
long = "mine-when-not-synced",
help = "Mine even when kaspad says it is not synced",
long_help = "Mine even when kaspad says it is not synced, only useful when passing `--allow-submit-block-when-not-synced` to kaspad [default: false]",
long_help = "Mine even when kaspad says it is not synced, only useful when passing `--allow-submit-block-when-not-synced` to kaspad [default: false]"
)]
pub mine_when_not_synced: bool,

Expand Down
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ async fn main() -> Result<(), Error> {
let mut path = current_exe().unwrap_or_default();
path.pop(); // Getting the parent directory
let plugins = filter_plugins(path.to_str().unwrap_or("."));
let (app, mut plugin_manager): (App, PluginManager) =
kaspa_miner::load_plugins(Opt::into_app(), &plugins)?;
let (app, mut plugin_manager): (App, PluginManager) = kaspa_miner::load_plugins(Opt::into_app(), &plugins)?;

let matches = app.get_matches();

Expand Down

0 comments on commit 8bf16e6

Please sign in to comment.