Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: borngraced <[email protected]>
  • Loading branch information
borngraced committed Nov 26, 2023
1 parent 1d85c4d commit 502da43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion mm2src/komodefi_cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl Cli {
Command::Mm2(Mm2Commands::Status) => get_status(),
Command::Mm2(Mm2Commands::Stop) => proc.send_stop().await?,
Command::Config(ConfigSubcommand::Set(config)) => set_config(config)?,
Command::Config(ConfigSubcommand::Get(option)) => get_config(&option),
Command::Config(ConfigSubcommand::Get(option)) => get_config(option),
Command::Coin(CoinCommands::Enable(args)) => {
proc.enable(&args.coin, args.keep_progress, args.tx_history).await?
},
Expand Down
1 change: 0 additions & 1 deletion mm2src/komodefi_cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ pub(super) fn set_config(config: &mut SetConfigArgs) -> Result<()> {

if set_password {
let rpc_password = Password::new("Enter RPC API password:")
.allow_empty_password(false)
.prompt()
.map_err(|error| error_anyhow!("Failed to get rpc_api_password: {error}"))?;
komodefi_cfg.set_rpc_password(rpc_password);
Expand Down

0 comments on commit 502da43

Please sign in to comment.