Skip to content

Commit

Permalink
Fix some clippies..
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshimaitra committed Nov 23, 2022
1 parent 1e21cc7 commit b20a140
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/commands.rs
Expand Up @@ -13,19 +13,19 @@
//! All subcommands are defined in the below enums.

#![allow(clippy::large_enum_variant)]
use clap::{AppSettings, Args, Parser, Subcommand};
use clap::{AppSettings, Parser, Subcommand};

use bdk::bitcoin::util::bip32::{DerivationPath, ExtendedPrivKey};
use bdk::bitcoin::{Address, Network, OutPoint, Script};

use crate::utils::{parse_outpoint, parse_recipient};
#[cfg(any(
feature = "compact_filters",
feature = "electrum",
feature = "esplora",
feature = "rpc"
))]
use crate::utils::parse_proxy_auth;
use crate::utils::{parse_outpoint, parse_recipient};
use {crate::utils::parse_proxy_auth, clap::Args};

#[derive(PartialEq, Clone, Debug, Parser)]
/// The BDK Command Line Wallet App
Expand Down
2 changes: 1 addition & 1 deletion src/handlers.rs
Expand Up @@ -272,7 +272,7 @@ where
let mut psbts = psbt
.iter()
.map(|s| {
let psbt = base64::decode(&s).map_err(|e| Error::Generic(e.to_string()))?;
let psbt = base64::decode(s).map_err(|e| Error::Generic(e.to_string()))?;
let psbt: PartiallySignedTransaction = deserialize(&psbt)?;
Ok(psbt)
})
Expand Down

0 comments on commit b20a140

Please sign in to comment.