Skip to content

Commit 8bf16e6

Browse files
committed
Cargo fmt
1 parent 4742f76 commit 8bf16e6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub struct Opt {
2626
#[clap(
2727
long = "mine-when-not-synced",
2828
help = "Mine even when kaspad says it is not synced",
29-
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]",
29+
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]"
3030
)]
3131
pub mine_when_not_synced: bool,
3232

src/main.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ async fn main() -> Result<(), Error> {
113113
let mut path = current_exe().unwrap_or_default();
114114
path.pop(); // Getting the parent directory
115115
let plugins = filter_plugins(path.to_str().unwrap_or("."));
116-
let (app, mut plugin_manager): (App, PluginManager) =
117-
kaspa_miner::load_plugins(Opt::into_app(), &plugins)?;
116+
let (app, mut plugin_manager): (App, PluginManager) = kaspa_miner::load_plugins(Opt::into_app(), &plugins)?;
118117

119118
let matches = app.get_matches();
120119

0 commit comments

Comments
 (0)