cargo fmt

This commit is contained in:
Luke Parker
2023-08-21 02:38:27 -04:00
parent dc88b29b92
commit 27cd2ee2bb
2 changed files with 2 additions and 4 deletions

View File

@@ -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 {