Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Aug 21, 2023
1 parent dc88b29 commit 27cd2ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions coins/bitcoin/src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ impl Scanner {
let mut res = vec![];
for (vout, output) in tx.output.iter().enumerate() {
// If the vout index exceeds 2**32, stop scanning outputs
let Ok(vout) = u32::try_from(vout) else {
break
};
let Ok(vout) = u32::try_from(vout) else { break };

if let Some(offset) = self.scripts.get(&output.script_pubkey) {
res.push(ReceivedOutput {
Expand Down

0 comments on commit 27cd2ee

Please sign in to comment.