Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Dec 25, 2022
1 parent f2b059a commit 0176460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hd/src/indexes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ impl SegmentIndexes for TerminalStep {
fn count(&self) -> usize {
match self {
TerminalStep::Index(_) => 1,
TerminalStep::Range(rng) => rng.count() as usize,
TerminalStep::Range(rng) => rng.count(),
TerminalStep::Wildcard => HARDENED_INDEX_BOUNDARY as usize,
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/btc-cold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ impl Args {
}
}

fs::write(psbt_path, &psbt.serialize())?;
fs::write(psbt_path, psbt.serialize())?;

println!("{} {}\n", "PSBT:".bright_white(), psbt);

Expand Down

0 comments on commit 0176460

Please sign in to comment.