Skip to content

Commit

Permalink
chore: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jan 25, 2025
1 parent 1c59090 commit 6920e07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ impl Args {

pub fn mound(&self) -> BpDirMound {
if self.init {
let _ = fs::create_dir_all(&self.data_dir());
let _ = fs::create_dir_all(self.data_dir());
}
if !self.network.is_testnet() {
panic!("Non-testnet networks are not yet supported");
Expand Down
4 changes: 2 additions & 2 deletions src/coinselect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl Coinselect for CoinselectStrategy {
if calc.is_satisfied(invoiced_state) {
return false;
}
calc.accumulate(*val).is_ok()
calc.accumulate(val).is_ok()
})
.map(|(addr, _)| addr)
.collect(),
Expand All @@ -77,7 +77,7 @@ impl Coinselect for CoinselectStrategy {
if calc.is_satisfied(invoiced_state) {
return false;
}
calc.accumulate(*val).is_ok()
calc.accumulate(val).is_ok()
})
.map(|(addr, _)| addr)
.collect(),
Expand Down

0 comments on commit 6920e07

Please sign in to comment.